5 int zend_declare_property_double(zend_class_entry
*ce
, char *name
, int name_length
, double value
, int access_type TSRMLS_DC
)
9 if (ce
->type
& ZEND_INTERNAL_CLASS
) {
10 property
= malloc(sizeof(zval
));
15 ZVAL_DOUBLE(property
, value
);
16 return zend_declare_property(ce
, name
, name_length
, property
, access_type TSRMLS_CC
);
19 void zend_update_property_double(zend_class_entry
*scope
, zval
*object
, char *name
, int name_length
, double value TSRMLS_DC
)
26 ZVAL_DOUBLE(tmp
, value
);
27 zend_update_property(scope
, object
, name
, name_length
, tmp TSRMLS_CC
);
35 * vim600: noet sw=4 ts=4 fdm=marker
36 * vim<600: noet sw=4 ts=4