Re: ver 4.0 calling convention information ?

new topic     » goto parent     » topic index » view thread      » older message » newer message
bernie said...

Thanks MATT and JIM:

If I am INSIDE a EUPHORIA FUNCTION I need to know how
that routine was called ( STD or CDECL ) so I can protect
the STACK condition when I return from a assembler routine
that I am calling from inside of the EUPHORIA FUNCTION.

I keep hearing people say that EUPHORIA NOW uses the standard
calling convention. When EUPHORIA was 3.11 all these things
worked without a problem. ( yes I am using ENTER and LEAVE code. )
Something is different ?

How are you currently calling the assembler routine, and what calling convention is the assembler routine using?

If you call the assembler routine with call(), then you should not need to change anything. However, if you use c_func() or c_proc() then it may be a different story (in which case I suggest the assembly routine be changed to C_DECL calling convention).

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

Search



Quick Links

User menu

Not signed in.

Misc Menu