> Hopefully someone here can help...
>
> I'm writing my own extension and using the Zend API docs at Zend.com. They
> are very vague on using resources. I can create them just fine, but the docs
> leave out exactly how access the resource data later. I've been looking at
> ext/curl/curl.c and ext/crack/crack.c for guidance but I can't get
> ZEND_FETCH_RESOURCE to work.
>
> ricky.c:75: incompatible type for argument 1 of `zend_fetch_resource'
>
> Anyone successful with ZEND_FETCH_RESOURCE guide me?

You should be asking questions like this on the php-dev list.  And post a
code snippet there as well so we can see what sort of argument you are
trying to pass in.  Normally you would pass a zval ** here.

-Rasmus


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to