Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3534 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97729 invoked from network); 21 Jul 2003 02:52:42 -0000 Received: from unknown (HELO longsword.omniti.com) (66.80.117.3) by pb1.pair.com with SMTP; 21 Jul 2003 02:52:42 -0000 Received: from ip-66-80-117-254.nyc.megapath.net ([66.80.117.254] helo=maya.local.) by longsword.omniti.com with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.14) id 19eQnV-0007YY-BL for internals@lists.php.net; Sun, 20 Jul 2003 22:53:09 -0400 Date: Sun, 20 Jul 2003 22:52:48 -0400 Mime-Version: 1.0 (Apple Message framework v543) Content-Type: text/plain; charset=US-ASCII; format=flowed To: internals@lists.php.net Content-Transfer-Encoding: 7bit Message-ID: <69AEA874-BB26-11D7-90A4-000393B2B3C0@omniti.com> X-Mailer: Apple Mail (2.543) Subject: static property setters From: george@omniti.com (George Schlossnagle) 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