getargs question

Monty (monty@tbyte.com)
Mon, 8 Aug 1994 22:14:46 GMT

I don't understand why I'm stumped on this. It must be pretty easy.
I'm exporting a function that I want to be called like this:

export.playSound(audiodata,len(audiodata),1,1,22050.0)

in my C function playSound(object *dummy,object *args) I call getargs as
such:

res = getargs(args,"(siiif)",&data,&bytelen,&tag,&channels
,&samplingRate);

It fails, returning zero. The data variable has been set to the right
thing but nothing else is. Why might this not be working?

Monty

monty@tbyte.com