digitalmars.D - _argptr to C function
- teqDruid (13/13) Aug 02 2004 I think my inexperience with C's got the best of me on this one.
I think my inexperience with C's got the best of me on this one. I've got a function: public void parse(char[] format, ...); I want to take the variable arguments and feed them to an extern(C) function. I've tried: xmlrpc_parse_value(&xmlrpcClient.env, realValue, toStringz(format),_argptr); But although it doesn't output an error, it also doesn't appear to work. This does however: xmlrpc_parse_value(&xmlrpcClient.env, realValue, toStringz(format),va_arg!(char**)(_argptr)); If I've only got one char** argument. How do I do what I'm trying to do? TIA John
Aug 02 2004