From: Andi Gutmans Date: Sat, 26 Aug 2000 14:24:33 +0000 (+0000) Subject: - Also change constants. Note: PHP tries to make names intuitive. X-Git-Tag: php-4.0.2~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82d7c4294c2834822d5e62f3543475acb2ab14e1;p=php - 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_* --- 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 */