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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4044
69646f4c0c4d added description & version id
Claus Gittinger <cg@exept.de>
parents: 3811
diff changeset
     1
LIBRARY libbasic
69646f4c0c4d added description & version id
Claus Gittinger <cg@exept.de>
parents: 3811
diff changeset
     2
DESCRIPTION     'Smalltalk/X Basic classes'
69646f4c0c4d added description & version id
Claus Gittinger <cg@exept.de>
parents: 3811
diff changeset
     3
VERSION         3.5
5925
a6914726ffcd *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5923
diff changeset
     4
CODE            EXECUTE READ 
4044
69646f4c0c4d added description & version id
Claus Gittinger <cg@exept.de>
parents: 3811
diff changeset
     5
DATA            READ WRITE
69646f4c0c4d added description & version id
Claus Gittinger <cg@exept.de>
parents: 3811
diff changeset
     6
SECTIONS
5925
a6914726ffcd *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5923
diff changeset
     7
    INITCODE    READ EXECUTE 
5923
17d0bd92ede7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 4044
diff changeset
     8
    INITDATA    READ WRITE 
4044
69646f4c0c4d added description & version id
Claus Gittinger <cg@exept.de>
parents: 3811
diff changeset
     9
EXPORTS 
69646f4c0c4d added description & version id
Claus Gittinger <cg@exept.de>
parents: 3811
diff changeset
    10
    _libbasic_Init