Browse Source

- Reserve some bits for flags

PHP-5.1
Marcus Boerger 22 years ago
parent
commit
a4521139da
  1. 7
      ext/pdo/php_pdo_driver.h

7
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,

Loading…
Cancel
Save