#define GET_BLOB_HANDLE_ARG(blob_arg, blob_ptr) \
{ \
int type; \
- convert_to_long(blob_arg); \
- blob_ptr = (ibase_blob_handle *) zend_list_find(Z_LVAL_P(blob_arg), &type); \
+ convert_to_long_ex(blob_arg); \
+ blob_ptr = (ibase_blob_handle *) zend_list_find(Z_LVAL_PP(blob_arg), &type); \
if (type!=le_blob) { \
- _php_ibase_module_error("%d is not blob handle", Z_LVAL_P(blob_arg)); \
+ _php_ibase_module_error("%d is not blob handle", Z_LVAL_PP(blob_arg)); \
RETURN_FALSE; \
} \
}
WRONG_PARAM_COUNT;
}
- GET_BLOB_HANDLE_ARG(*blob_arg, ib_blob);
+ GET_BLOB_HANDLE_ARG(blob_arg, ib_blob);
convert_to_string_ex(string_arg);
convert_to_long_ex(len_arg);
max_len = (unsigned short) Z_LVAL_PP(len_arg);
- GET_BLOB_HANDLE_ARG(*blob_arg, ib_blob);
+ GET_BLOB_HANDLE_ARG(blob_arg, ib_blob);
if (ib_blob->bl_qd.gds_quad_high || ib_blob->bl_qd.gds_quad_low) { /*not null ?*/
WRONG_PARAM_COUNT;
}
- GET_BLOB_HANDLE_ARG(*blob_arg, ib_blob);
+ GET_BLOB_HANDLE_ARG(blob_arg, ib_blob);
if (bl_end == BLOB_CLOSE) { /* return id here */
if (ib_blob->bl_qd.gds_quad_high || ib_blob->bl_qd.gds_quad_low) { /*not null ?*/