nt.def
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 15 Sep 2015 05:30:02 +0100
branchjv
changeset 18755 bd0a60878974
parent 5925 a6914726ffcd
permissions -rw-r--r--
FFI: Make FFI call return nil when C function returns NULL Before when a C function returned NULL pointer, an ExternalAddress with address 0 wes returned which required an extra check in a caller to convert it to nil, which would be the customary. This commit automatically converts NULL pointers to Smalltalk `nil` as a courtesy to a Smalltalker.

LIBRARY libbasic
DESCRIPTION     'Smalltalk/X Basic classes'
VERSION         3.5
CODE            EXECUTE READ 
DATA            READ WRITE
SECTIONS
    INITCODE    READ EXECUTE 
    INITDATA    READ WRITE 
EXPORTS 
    _libbasic_Init