Re: wrapping C code - my exercise in incompetence.

new topic     » goto parent     » topic index » view thread      » older message » newer message
jmduro said...
ghaberek said...

You left out the part of my comment, which I believe is the answer you're seeking.

I'm afraid it does not. I try to adapt functions I used in my Low-level Windows wrapper to automatically fill or parse structures according to the computers processor and the compiler release. When I use Eu4.05, I get the same value for both C_DOUBLE and C_DWORDLONG, even with your functions. In one case, I have to deal with a float, in another with a 64-bit integer.

I'm wondering if Eu4.05 knows #03000002 or not (C_DWORDLONG). Maybe I should not care as I use the decimal values.

Jean-Marc

4.0.5 (and 4.0.6, when it's released) do not recongize #03000002. The ability for the interpreter to use this value was added in 4.1.0 only.

Here's the section in 4.1.0 that uses this value: http://scm.openeuphoria.org/hg/euphoria/file/16462e686646/source/be_callc.c#l1364

There's the same section in 4.0.6 (or the closest area anyways, the section itself doesn't exist in this version of the file): http://scm.openeuphoria.org/hg/euphoria/file/cbee492464f0/source/be_callc.c#l178

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

Search



Quick Links

User menu

Not signed in.

Misc Menu