RE: stdcall / cdecl -- please clarify

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

Robert Craig wrote:
> Andy Serpa writes:
> > Hmmm... that means that even though the interpreter "luckily" can handle 
> > 
> > these things, it means we are on shaky ground for a number of powerful C 
> > 
> > libraries: 
> 
> In the next release, there will be a solution to this.
> Ideally, Euphoria would somehow figure out if a  __cdecl call 
> is required, but if that's not feasible, the Euphoria programmer 
> will be given some means to specify which C routines need
> __cdecl. Or, perhaps Matthew Lewis will come up with a clever solution.
> 
>

Cool.  Glad to hear it.  Having the programmer (me) simply specify the 
calling convention is good enough, but auto-detecting would be nice too 
(maybe it could detect *other* calling conventions too -- fastcall, etc. 
and generate an error if it ain't going to work)...

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

Search



Quick Links

User menu

Not signed in.

Misc Menu