[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] GEMLIB: NIL is 0
Op 12/8/15 om 10:38 PM schreef OL:
I think Gerhard is true, I have search where come from NIL or if there
was another definition for -1 value in AES.
I have found it as define to -1:
- in aes.h coming from Lattice C 5.60
- COMPUTE!'s Technical Reference Guide ATARI ST Volume 2 AES
- In documentation for PC GEM http://www.seasip.info/Gem/aestruct.html
- In documentation from Lonny Pursell for GFA :
But I have found it in Compendium NIL is defined as 0 in objc_add(), but
this is wrong else it doesn't work.
So I think NIL should be -1, for 0L NULL should work and is defined for
all C compiler.
OK, good to know.
Henk Robbers. http://members.chello.nl/h.robbers
Interactive disassembler: Digger; http://digger.atari.org
A Home Cooked C compiler: AHCC; http://ahcc.atari.org