[M3devel] revevrsed EXTERNAL, almotht :)
Dragiša Durić
dragisha at m3w.org
Wed Jul 11 18:02:34 CEST 2007
I think not. What I need for Modula-3 program to be loaded (ie
initialized) as a .so is true C procedure entry point, trivial to write
in C so there is no need to force CM3 to make one of Modula-3 procedures
known by "external" name. Standard _m3main execution flow has to be
split in two parts and executed from this C "stub".
Calling conventions are possible another problem. I don't think there
would be one under *nix, and for Windows - it's a todo :).
On Wed, 2007-07-11 at 13:49 +0200, Henning Thielemann wrote:
> On Tue, 10 Jul 2007, [UTF-8] Dragiša Duri^G wrote:
>
> > Can I make Modula-3 procedure, or even better - Main_M3 to be called
> > other than that in object code?
>
> Do you mean the CALLBACK pragma?
--
Dragiša Durić <dragisha at m3w.org>
More information about the M3devel
mailing list