Re: The Euphoria IDE Project
- Posted by jimcbrown (admin) Jun 18, 2012
- 4394 views
mattlewis said...
petelomax said...
The alternative would be to rewrite wxeu.cpp pretty much from scratch, but embed the knowledge of the underlying Phix data structures rather than those of OpenEu.
Yes, it sounds like that's what would have to happen. After a lot of experimenting, I think that the way I've got wxEuphoria working is the easiest way to go about wrapping a C++ library.
Matt
What about a unified library interface? Once that defined C macros that allowed you to switch the build between Phix and OpenEuphoria simply by changing an ifdef or something?
So we'd have a WXEU_POINTER that would be C_POINTER for 4.1 and C_INT for Phix, and a WXEU_DEREF_DS that'd call the right version of deref for 4.1 or Phix...