On 04/09/2012 14:02, Sven Barth wrote:
This seems to be the main disadvantage of PascalScript: it needs
platform specific assembler code...
Perhaps the situation can be improved once Rtti.Invoke (
http://docwiki.embarcadero.com/Libraries/de/System.Rtti.Invoke ) is
implemented...
I doubt it.
RTTI may (you need to establish if this applies to *all* cases) tell you
that "procedure Foo(a: integer)" takes 1 int param.
But it will not tell you, if this needs to be on the stack, or in a
register (or which register).
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus