Re: poke4 won't accept my 32bit values

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

>
> C_INT, what should it be?
>
> But even if this is the problem.. it is exclusive to my code.. No
> problems in the original Exotica demos..
>

I'm not sure, maybe Robert can chip in here, but C_UINT is a 32-bit unsigned
integer and C_INT is a 32-bit signed integer. Maybe when Euphoria invokes
the c_func() routine it converts the supplied parameters based on these
signatures. If it uses C_INT, it might be chopping off the high bits.

This is just a guess.

I'm also guessing that its Euphoria interpreter you are having trouble with.
Is it? Or is this the translated C code?

------
Derek Parnell
Melbourne, Australia
"To finish a job quickly, go slower."

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

Search



Quick Links

User menu

Not signed in.

Misc Menu