summaryrefslogtreecommitdiff
path: root/ext/ingres_ii
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-08-26 14:24:33 +0000
committerAndi Gutmans <andi@php.net>2000-08-26 14:24:33 +0000
commit82d7c4294c2834822d5e62f3543475acb2ab14e1 (patch)
tree9d5b6abba54581f1ac0fdf610158aded6bf3f74d /ext/ingres_ii
parent0e6db7dc828c2d57957108fc53f3460ae989b6fd (diff)
downloadphp-git-82d7c4294c2834822d5e62f3543475acb2ab14e1.tar.gz
- 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_*
Diffstat (limited to 'ext/ingres_ii')
-rw-r--r--ext/ingres_ii/ii.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/ingres_ii/ii.c b/ext/ingres_ii/ii.c
index cae1c4e0b7..65bf57519a 100644
--- a/ext/ingres_ii/ii.c
+++ b/ext/ingres_ii/ii.c
@@ -217,9 +217,9 @@ PHP_MINIT_FUNCTION(ii)
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 */