Re: wrapping C code - my exercise in incompetence.
- Posted by gbonvehi Mar 12, 2013
- 3099 views
ghaberek said...
Those are constants for define_c_func/proc and are not meant to be sizes in and of themselves. You can, however, shift them down to their respected sizes quite easily:
Ouch, that's what I get for peeking to quick at the docs, yeap, all C_ are constants used to define things, thanks for the heads up.
ghaberek said...
Edit: this will not be necessary on Euphoria 4.1, since it includes its own sizeof() function and native structure support.
Having sizeof function will help a lot, thanks guys for making interfacing with C easier!