From: Michal M. <mal...@pl...> - 2003-06-22 07:52:09
|
On Sun, Jun 22, 2003 at 09:51:40AM +1000, John Max Skaller wrote: > Hmmm.. it was said a C implementation should use VALUE > macro not integer 0. A small C interface will make > that available as a universal NULL value? It doesn't have to NULL pointer, any other pointer should do. Using: let null = ref 0.0 seems to work (with Obj.magic). Using Obj.magic 0 to assign float array causes SEGV. But this null needs to be global, so it won't get GCed itself. -- : Michal Moskal :: http://www.kernel.pl/~malekith : GCS {C,UL}++++$ a? !tv : When in doubt, use brute force. -- Ken Thompson : {E-,w}-- {b++,e}>+++ h |