Re: wrapping C code - my exercise in incompetence.

new topic     » goto parent     » topic index » view thread      » older message » newer message
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!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu