cvs: php4 /ext/interbase interbase.c
| From: | Ilia Alshanetsky | Date: | Wed, 15 Jan 2003 15:36:29 +0000 |
| Subject: | cvs: php4 /ext/interbase interbase.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17928@lists.php.net to get a copy of this message | ||
iliaa Wed Jan 15 10:36:29 2003 EDT
Modified files:
/php4/ext/interbase interbase.c
Log:
Build fixes.
Index: php4/ext/interbase/interbase.c
diff -u php4/ext/interbase/interbase.c:1.95 php4/ext/interbase/interbase.c:1.96
--- php4/ext/interbase/interbase.c:1.95 Wed Jan 15 08:50:54 2003
+++ php4/ext/interbase/interbase.c Wed Jan 15 10:36:28 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: interbase.c,v 1.95 2003/01/15 13:50:54 iliaa Exp $ */
+/* $Id: interbase.c,v 1.96 2003/01/15 15:36:28 iliaa Exp $ */
/* TODO: Arrays, roles?
@@ -229,10 +229,10 @@
#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; \
} \
}
@@ -609,7 +609,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "Interbase Support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.95 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.96 $");
#ifdef COMPILE_DL_INTERBASE
php_info_print_table_row(2, "Dynamic Module", "yes");
#endif
@@ -2630,7 +2630,7 @@
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);
@@ -2661,7 +2661,7 @@
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 ?*/
@@ -2706,7 +2706,7 @@
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 ?*/