Re: Blank Window (Tile Engine)
- Posted by jimcbrown (admin) Apr 23, 2023
- 787 views
irv said...
I don't think "" is a NULL in Euporia.
Agreed, these are different things. The formmer is an array of one length, basically ['\-0'] while the latter is .. well, null.
Icy_Viking said...
In the C code it is declared as a string
NULL can be passed into strings (I guess you are referring to char pointers actually, I don't believe C has an actual string type).
Icy_Viking said...
and I wrapped using the C_STRING keyword.
Which works fine with NULL as well.
Perhaps the empty string would work also, perhaps not, but the important point is that they are, and look, different to the C code that gets called.