static property setters
| From: | George Schlossnagle | Date: | Mon, 21 Jul 2003 02:52:48 +0000 |
| Subject: | static property setters | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-3534@lists.php.net to get a copy of this message | ||
Andi, Zeev,
Mind if I add
#define ZEND_STATIC_PUBLIC_PROPERTY(class_ptr, name, value) \
{ \
char *_name = (name); \
int namelen = strlen(_name); \
zend_declare_property(class_ptr, _name, namelen, value, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC); \
}
macros to accomany the ZEND_*_PROPERTY macros?
George
-- George Schlossnagle
-- Principal Consultant
-- OmniTI Computer Consulting, Inc.
-- +1.410.872.4910 x202
-- 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0