RE: cdecl

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

> From: Elliott Sales de Andrade [mailto:quantum_analyst at hotmail.com]

>   Now that we have support for calling "__cdecl" functions, 
> will there be an 
> easy way to call functions with multiple arguments? Do we 
> need to define it 
> for each call with a different number of arguments?  It would 
> be nice to 
> have this functionality. The only problem I could see would 
> be whether to 
> pass a 32-bit float or a 64-bit double.

This can be done with my fptr library.  It always takes an arbitrary number
of arguments.  Rob's approach is a little more 'hard coded', so it wouldn't
be easy to do.

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu