On Thu, 24 Mar 2011, Mattias Gaertner wrote:
On Thu, 24 Mar 2011 23:10:08 +0100
Felipe Monteiro de Carvalho wrote:
Commenting is better. Then the reported error line numbers are still
valid.
Yes, but then bash won't recognize it, I suppose
I meant:
Original file:
#!/usr/bin/instantfpc
Hi,
I am working on calling object pascal functions from c/c++. I notice that
when a unit is compiled into object code, the name of a function is altered
in this convention:
_$$
for example, if i have this unit:
unit wrapper;
interface
function test(): integer; stdcall;
implementation
fu
http://www.freepascal.org/docs-html/prog/progsu126.html Here you go. Watch
out for name clash. FPC uses that convention for operator overloading and
symbol namespacing.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/calling-object-pascal-object-function-in-c-c-
Sorry, I mean just overloading. both operator and function/procedure applies.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/calling-object-pascal-object-function-in-c-c-tp4264422p4264529.html
Sent from the Free Pascal - General mailing list archive at Nabble.co