Lines Matching refs:resource
115 /* Just register the pointer as a resource. */
119 * Wrap the resource in an object, the resource will be accessible
123 zval *resource;
137 MAKE_STD_ZVAL(resource);
138 ZEND_REGISTER_RESOURCE(resource, value, *(int *)(type->clientdata));
156 zend_hash_update(HASH_OF(z), (char*)"_cPtr", sizeof("_cPtr"), (void*)&resource, sizeof(zval), NULL);
169 instance of a resource of the type id, so we have to pass type_name as well.
172 SWIG_ZTS_ConvertResourcePtr which gets the type name from the resource
201 and type info from the resource in z. z must be a resource.
223 /* We allow passing of a RESOURCE pointing to the object or an OBJECT whose
224 _cPtr is a resource pointing to the object */