cvs: php4 /ext/ingres_ii ii.c
| From: | Andi Gutmans | Date: | Sat, 26 Aug 2000 14:24:32 +0000 |
| Subject: | cvs: php4 /ext/ingres_ii ii.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1395@lists.php.net to get a copy of this message | ||
andi Sat Aug 26 07:24:32 2000 EDT
Modified files:
/php4/ext/ingres_ii ii.c
Log:
- Also change constants. Note: PHP tries to make names intuitive.
- PHP extensions don't necessarily need to use the exact C counter part, it
- should be easy to read and not be short names such as II_*
Index: php4/ext/ingres_ii/ii.c
diff -u php4/ext/ingres_ii/ii.c:1.8 php4/ext/ingres_ii/ii.c:1.9
--- php4/ext/ingres_ii/ii.c:1.8 Sat Aug 26 07:21:25 2000
+++ php4/ext/ingres_ii/ii.c Sat Aug 26 07:24:32 2000
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ii.c,v 1.8 2000/08/26 14:21:25 andi Exp $ */
+/* $Id: ii.c,v 1.9 2000/08/26 14:24:32 andi Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -217,9 +217,9 @@
IIG(num_persistent) = 0;
/* Constants registration */
- REGISTER_LONG_CONSTANT("II_ASSOC", II_ASSOC, CONST_CS | CONST_PERSISTENT);
- REGISTER_LONG_CONSTANT("II_NUM", II_NUM, CONST_CS | CONST_PERSISTENT);
- REGISTER_LONG_CONSTANT("II_BOTH", II_BOTH, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("INGRES_ASSOC", II_ASSOC, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("INGRES_NUM", II_NUM, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("INGRES_BOTH", II_BOTH, CONST_CS | CONST_PERSISTENT);
/* Ingres api initialization */