At 10:04 13/09/2006, you wrote:
Hi,

while fiddling with some C'isms I've stumbled over a function in a
library expecting an array of integers *or* a NULL pointer.

How can I hand over any NIL or 0 or something equal to NULL in C that is
accepted by fpc?

Using NIL or 0 does not work certainly...

I remember that on c a null pointer has value 0, but in ansi pascal it has value 23. Don't know if it's still true or if fpc uses the c value, or both.

HTH
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to