Re: Passing a C++ Class Member Function to the (*create_object) in zend_class_entry
| From: | Andrei Zmievski | Date: | Tue, 14 Mar 2006 20:15:26 +0000 |
| Subject: | Re: Passing a C++ Class Member Function to the (*create_object) in zend_class_entry | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-22426@lists.php.net to get a copy of this message | ||
How much C++ programming have you done previously?
-Andrei
On Mar 14, 2006, at 10:45 AM, Andrew Mather (BT Std) wrote:
Is it possible to pass a C++ member function to the create_object member in zend_class_entry ? This would allow a factory-like generator of zend/c++ object pairs. error: argument of type ` zend_object_value (MyClassFactory::)(zend_class_entry*, void***)' does not match `zend_object_value (*)(zend_class_entry*, void***)' -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php