]> granicus.if.org Git - php/commitdiff
- Reserve some bits for flags
authorMarcus Boerger <helly@php.net>
Mon, 28 Feb 2005 22:37:13 +0000 (22:37 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 28 Feb 2005 22:37:13 +0000 (22:37 +0000)
ext/pdo/php_pdo_driver.h

index 428be169281e0b0fc2e27e2e745499283b3f6ee0..3328c911c17b46457ded02d81650fbce871b0260 100755 (executable)
@@ -69,12 +69,13 @@ enum pdo_param_type {
        /* get_col ptr should point to a zend_bool */
        PDO_PARAM_BOOL,
 
-
        /* magic flag to denote a parameter as being input/output */
-       PDO_PARAM_INPUT_OUTPUT = 0x80000000
+       PDO_PARAM_INPUT_OUTPUT = 0x80000000     
 };
 
-#define PDO_PARAM_TYPE(x)              ((x) & ~PDO_PARAM_INPUT_OUTPUT)
+#define PDO_PARAM_FLAGS                        0xFFFF0000
+
+#define PDO_PARAM_TYPE(x)              ((x) & ~PDO_PARAM_FLAGS)
 
 enum pdo_fetch_type {
        PDO_FETCH_USE_DEFAULT,