Hi guys,

Just a stupid question, but is the Lazarus calling conventions documented
anywhere? Is it different from Delphi calling conventions? When calling
external c functions from libraries, does one need any special declarations
like in Delphi to tell it to use c-style calling conventions?

Related (it was actually Bo's question that got me thinking about this...
how easy/difficult would it be to write Linux drivers in Object Pascal, but
in a way that C/C++ programs can also use it? Or for that matter (since
Lazarus has been ported to Haiku) it might be easier to write drivers for
Haiku in Pascal rather than C? Maybe speed things up a bit?

Cheers,
Chavoux
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to