No XS-pert here either, but it looks to me like you are returning an AV*, ie. a ref to an array, rather than a list. You don't show the test code, but if you're doing
my( $x, $y ) = $obj->world_location;
That could be your problem?
In reply to Re: Accessors in xs
by BrowserUk
in thread Accessors in xs
by hardburn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |