named arguments to XS function?
- From: "gabe" <gabe.schine@xxxxxxxxx>
- Date: 24 Mar 2006 11:44:43 -0800
hi there,
i'm wondering if it's possible to pass named arguments to an XS
function like so:
$myObj = Package::Bla->new(arg1=>"hello", arg2=>"world");
in XS i'm not sure what to ask for on the argument list. if i just take
an HV*, it doesn't work, an SV* also doesn't work. any ideas?
thanks,
Gabe Schine
.
- Follow-Ups:
- Re: named arguments to XS function?
- From: Sisyphus
- Re: named arguments to XS function?
- Prev by Date: GD.c: 533: error: syntax error before "void"
- Next by Date: Re: 533: error: syntax error before "void"
- Previous by thread: GD.c: 533: error: syntax error before "void"
- Next by thread: Re: named arguments to XS function?
- Index(es):