summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo_driver.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-02-28 22:37:13 +0000
committerMarcus Boerger <helly@php.net>2005-02-28 22:37:13 +0000
commita4521139dac4167f9b41765bdc211b3c1fc694aa (patch)
treec7a23f1cdc30178abcadc1fdc3c9f32c8d52e78e /ext/pdo/php_pdo_driver.h
parent8eab7ab62eed7ffd42bab3b3f4cd6f78f0412689 (diff)
downloadphp-git-a4521139dac4167f9b41765bdc211b3c1fc694aa.tar.gz
- Reserve some bits for flags
Diffstat (limited to 'ext/pdo/php_pdo_driver.h')
-rwxr-xr-xext/pdo/php_pdo_driver.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h
index 428be16928..3328c911c1 100755
--- a/ext/pdo/php_pdo_driver.h
+++ b/ext/pdo/php_pdo_driver.h
@@ -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,