From: Marcus Boerger Date: Mon, 28 Feb 2005 22:37:13 +0000 (+0000) Subject: - Reserve some bits for flags X-Git-Tag: RELEASE_0_3~123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4521139dac4167f9b41765bdc211b3c1fc694aa;p=php - Reserve some bits for flags --- 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,