Lines Matching refs:__ptr
195 #define MYSQLI_REGISTER_RESOURCE_EX(__ptr, __zval) \ argument
196 (Z_MYSQLI_P(__zval))->ptr = __ptr;
198 #define MYSQLI_RETURN_RESOURCE(__ptr, __ce) \ argument
200 MYSQLI_REGISTER_RESOURCE_EX(__ptr, return_value)
202 #define MYSQLI_REGISTER_RESOURCE(__ptr, __ce) \ argument
209 MYSQLI_REGISTER_RESOURCE_EX(__ptr, object)\
212 #define MYSQLI_FETCH_RESOURCE(__ptr, __type, __id, __name, __check) \ argument
220 __ptr = (__type)my_res->ptr; \
227 #define MYSQLI_FETCH_RESOURCE_BY_OBJ(__ptr, __type, __obj, __name, __check) \ argument
234 __ptr = (__type)my_res->ptr; \
241 #define MYSQLI_FETCH_RESOURCE_CONN(__ptr, __id, __check) \ argument
243 MYSQLI_FETCH_RESOURCE((__ptr), MY_MYSQL *, (__id), "mysqli_link", (__check)); \
244 if (!(__ptr)->mysql) { \
250 #define MYSQLI_FETCH_RESOURCE_STMT(__ptr, __id, __check) \ argument
252 MYSQLI_FETCH_RESOURCE((__ptr), MY_STMT *, (__id), "mysqli_stmt", (__check)); \
253 ZEND_ASSERT((__ptr)->stmt && "Missing statement?"); \