- fix compiler warning
[m6w6/ext-http] / missing.h
1 /*
2 +--------------------------------------------------------------------+
3 | PECL :: http |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2004-2006, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
11 */
12
13 /* $Id$ */
14
15 #ifndef PHP_HTTP_MISSING
16 #define PHP_HTTP_MISSING
17
18 #include "php_version.h"
19
20 #ifndef pemalloc_rel
21 # define pemalloc_rel(size, persistent) ((persistent)?malloc(size):emalloc_rel(size))
22 #endif
23
24 #if (PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION == 0)
25 # define WONKY
26 #endif
27
28 #ifdef WONKY
29 extern int zend_declare_property_double(zend_class_entry *ce, char *name, int name_length, double value, int access_type TSRMLS_DC);
30 extern void zend_update_property_double(zend_class_entry *scope, zval *object, char *name, int name_length, double value TSRMLS_DC);
31
32 extern int zend_declare_property_bool(zend_class_entry *ce, char *name, int name_length, long value, int access_type TSRMLS_DC);
33 extern void zend_update_property_bool(zend_class_entry *scope, zval *object, char *name, int name_length, long value TSRMLS_DC);
34
35 extern void zend_update_property_stringl(zend_class_entry *scope, zval *object, char *name, int name_length, char *value, int value_len TSRMLS_DC);
36 #endif
37
38 #endif
39
40 /*
41 * Local variables:
42 * tab-width: 4
43 * c-basic-offset: 4
44 * End:
45 * vim600: noet sw=4 ts=4 fdm=marker
46 * vim<600: noet sw=4 ts=4
47 */
48