Excerpts from the mail message of Billy Patton:
) 
) In c I have a routine that needs to pass back 2 numbers.
) x(int *x,int *y)
[...]
) in perl it would be
) ($x,$y) = X();
) 
) What I would like would be
) 
) int
) X(int *opt1,int *opt2);
) 
) I'm using perl5.6.1
) Can I Just ?
) X(\$x,\$y);

In XS:

int
X( int &opt1, int &opt2 )
OUTPUT:
    opt1
    opt2


In Perl:
 
X($x,$y);


Tye

Reply via email to