Re: Link to current IDE for 4.1?
- Posted by ghaberek (admin) Feb 19, 2020
- 1567 views
IMVHO, not really. At least no more than having memstruct/memunion in OE at all. Structs and unions are quite common in C code and it would be quite odd to have support in interpreted code, but not translated (-to-C) code.
I don't think this is a blocker for all memstruct/memunion in translated code as a whole, just nested memstruct/memunion. The code to peek/poke simple struct members (basically floats and ints) is already there.
I recall a handful of libraires (older versions of EuGTK, PeteE's pthreads wrapper, etc) needed a C shim to get around the lack of support in Eu.
Another feature we need to focus on is passing and returning structs by value to C routines, to eliminate the need for shims. I just had to add several shim functions to libharu in order to pass some pointers in and out.
-Greg