returning an unsigned long from RETURN_*
| From: | Faisal Nasim | Date: | Sat, 19 May 2001 09:34:46 +0000 |
| Subject: | returning an unsigned long from RETURN_* | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55875@lists.php.net to get a copy of this message | ||
Hi,
How do you return an unsigned long value from RETURN_LONG?
I need to return a value as big as 4294967295 which a 'long'
cannot hold, setting return_vale -> type = IS_LONG and
value.lval to the number doesn't help as lval is a 'long' and not
unsigned long.
Maybe I should return it as a string?
Any other ideas?
Thanks.
Faisal