RE: cdecl

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

Elliott Sales de Andrade wrote:
> >Do you have a real life example that you are working on?
> 
>   Well, yes I do. It's a printf() type function. In this case, it would 
>   have 
> to figure out whether to pass a char or a float, or a long, etc. Now 
> that I 
> think about it, it probably wouldn't be so easy to automatically choose 
> what 
> to do. I'm guessing I'll have to parse the format string myself, but I 
> guess 
> that's OK if what I said before works.

Or even easier would be to use Euphoria's sprintf() function and pass it 
to the library's puts()/textout() function...

-- Brian

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

Search



Quick Links

User menu

Not signed in.

Misc Menu