Hi,

Is it possible to set a object/class procedure/function to external?

I want to do something like this:

TGObject = object
  function new: PGObject; cdecl; external 'libglib.so' name 'g_object_new';

There are other cases where this maps better (i'm ignoring the 'self'
parameter in this example).

Regards,

Andrew
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to