Re: Quick question

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...
mattlewis said...

I think this does what Pete wanted:

Ick. What I actually wanted I suppose, apart from another incompatibility between Eu and Phix, was a function f(integer i) that actually got the -1 as actually sent to it, which actually, I've now got blink.

I coped with this on 32 bit, but that "half an unsigned integer" on 64 bit, erm, no thanks.

Oh, well, I just used 32-bits because you were using C_INT, which is a 32-bit signed integer on all of euphoria's platforms. Though I see that we have a bug there for interpreter callbacks for 64-bit platforms (the interpreter version uses make_atom32 instead of make_atom). Also, %d doesn't seem to handle a 64-bit unsigned value.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu