|
|
Team Member |
Joined: 13-Mar-2003 Posts: 4261
From: Unknown | | |
|
| From here.
@bernd_afa
Quote:
so i dont believe that it is better for mem protect to call functions wirth -> or do macros that convert standard OS calling to OS4 scheme. |
What are you talking about? The whole point is not that the -> is easier to protect, it's that you can have *one* library providing both an interface that is MP safe and one that is the old compatibility one and slowly phase out the old one without suddenly breaking compatibility or having two versions of the same library. Sure, there are other ways to do that but there's many ways to skin a cat and I don't see what the big issue is, it's not as if compilers do not know how to optimise calls of function pointers from structures, else C++ would be doomed.
_________________
|
|