On Wed, Jul 27, 2005 at 02:50:19PM -0400, muppet wrote:
> You probably want the INT2PTR macro, which has the nasty cast magic necessary
> to cast safely between ints and pointers.
> 
>    $var = INT2PTR ($type, SvIV (SvRV ($arg)));

Perfect!

Thanks,

-- 
Bill Moseley
[EMAIL PROTECTED]

Reply via email to