X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=missing.h;h=e76b078b3ccde9777056ea555910026b6209d23d;hp=215cbf32880d6eea1a5954f35365ee87559ad9f3;hb=ffc893b125c6cc9b385a68a357b08ba2cc4e91f6;hpb=212785588c8decd0e3bf1ee520e68b299896a3ff diff --git a/missing.h b/missing.h index 215cbf3..e76b078 100644 --- a/missing.h +++ b/missing.h @@ -21,11 +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