Re: ZEND API

From: Date: Wed, 29 Aug 2001 21:27:50 +0000
Subject: Re: ZEND API
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-65113@lists.php.net to get a copy of this message
> 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

« previous php.general (#65113) next »