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?