Re: Phix: A Error Message i do not understand.
- Posted by andreasWagner in February
- 406 views
So about 8 lines above that, as the new first entry, add
{{1,1},C_BYTE}, -- (=== C_CHAR)
Thank you, this is working.
D:\devpool\phix\builtins\cffi.e:234 bitfields are not (yet) supported
That would be significantly trickier. What struct[?] was that?
This one:https://learn.microsoft.com/de-de/windows/win32/api/winbase/ns-winbase-dcb
It's also back in serial.ew (as comment ) line28
I suspect it would be much easier to replace the definition with a byte/word/dword,
and extract all 8/16/32 bits, modify that, then put them all back, iyswim.
Yes, you are correct.
- A new pair of get_bit()/set_bit() routines ought to be fairly straightforward,
but I'd want to be able to prove to myself they were doing the right thing.
(such would obviously be better for bitfields other than 1/2/4 bytes)
So there is no hurry to do anything. But it would be cool to have something like get_bit()/set_bit().
But today is nice weather (no, it's just not raining). I'm going outside.
Again, Thank you
Andreas