X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=missing.h;h=e76b078b3ccde9777056ea555910026b6209d23d;hp=cfe3d2e0a26e2f7b66a868458b53a8cd7a5b709d;hb=afd561b680a07837192efbdb9ffe248def36f8e9;hpb=8d9da7c8014b2738ec646b0415223f75f43059e7 diff --git a/missing.h b/missing.h index cfe3d2e..e76b078 100644 --- a/missing.h +++ b/missing.h @@ -21,8 +21,17 @@ #include "php_version.h" #if (PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION == 0) +# define WONKY +#endif + +#ifdef WONKY extern int zend_declare_property_double(zend_class_entry *ce, char *name, int name_length, double value, int access_type TSRMLS_DC); extern void zend_update_property_double(zend_class_entry *scope, zval *object, char *name, int name_length, double value TSRMLS_DC); + +extern int zend_declare_property_bool(zend_class_entry *ce, char *name, int name_length, long value, int access_type TSRMLS_DC); +extern void zend_update_property_bool(zend_class_entry *scope, zval *object, char *name, int name_length, long value TSRMLS_DC); + +extern void zend_update_property_stringl(zend_class_entry *scope, zval *object, char *name, int name_length, char *value, int value_len TSRMLS_DC); #endif #endif