RE: wxEuphoria

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

> From: jbrown1050 at hotpop.com [mailto:jbrown1050 at hotpop.com]

> I just translated some C++ code into asm. I don't understand 
> it however. :[
> As far as I can tell, it appears to be cdecl ... not entirely sure
> however.
> 
> Maybe I'll have g++ translate the code into preprocessed C. 
> That should
> be easier to read.

Yes, from everything I've seen (not a whole lot), everything in linux should
be cdecl, so that should be pretty simple.  I've started separating out code
that's windows specific, so that a user would simply include wxWin.e or
wxLinux.e.  There may also be certain classes that will be OS specific, but
we'll just have to wait and see.  Rather than using call_thiscall directly,
I've put call_member() in wxWin.e which calls call_thiscall().  In
wxLinux.e, it would be call_cdecl().

> > At some point, I was attempting to make my own message 
> loop.  They never got
> > deleted. 
> 
> Oh. What was the point of that? jw.

It seemed like wxWindows might have been crashing when it's internal message
loop was called, so I tried to do it myself.
 

> In linux, the command 'nm' gets the list of symbols exported 
> by a shared library.
> Not sure about ordinal however.

I don't think Linux uses the concept of ordinals.  We'll just have to figure
out what the undecorated names are.  I also created a file, wxDefsMsw.e,
where I've wrapped the ordinals into constants, so they'll be easier to
import as needed.  I expect we'd take the output of 'nm' and do the same.
 
Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu