Re: [PHP-DEV] problem with zend_register_internal_class

2006-01-16 Thread Antony Dovgal
On 16.01.2006 19:38, Jan Pieper wrote: Antony Dovgal wrote: You forgot to add TSRMLS_CC macro: zend_register_internal_class(&ce TSRMLS_CC); see also http://www.php.net/manual/en/zend-api.zend-register-internal-class.php Yeah thanks. It works, but I am wondering why it works without the TSRM

Re: [PHP-DEV] problem with zend_register_internal_class

2006-01-16 Thread Jan Pieper
Antony Dovgal wrote: You forgot to add TSRMLS_CC macro: zend_register_internal_class(&ce TSRMLS_CC); see also http://www.php.net/manual/en/zend-api.zend-register-internal-class.php Yeah thanks. It works, but I am wondering why it works without the TSRMLS_CC macro by another self-written cla

Re: [PHP-DEV] problem with zend_register_internal_class

2006-01-16 Thread Hartmut Holzgraefe
Antony Dovgal wrote: You forgot to add TSRMLS_CC macro: zend_register_internal_class(&ce TSRMLS_CC); see also http://www.php.net/manual/en/zend-api.zend-register-internal-class.php -- Hartmut Holzgraefe, Senior Support Engineer. MySQL AB, www.mysql.com -- PHP Int

Re: [PHP-DEV] problem with zend_register_internal_class

2006-01-16 Thread Antony Dovgal
You forgot to add TSRMLS_CC macro: zend_register_internal_class(&ce TSRMLS_CC); Btw, [EMAIL PROTECTED] is more appropriate list for such questions. On 16.01.2006 02:01, Jan Pieper wrote: If I compile my class if written, I get this error-messages: ~/php-5.1.1/ext/smartflow/smartflow.c: In func

[PHP-DEV] problem with zend_register_internal_class

2006-01-16 Thread Jan Pieper
If I compile my class if written, I get this error-messages: ~/php-5.1.1/ext/smartflow/smartflow.c: In function 'zm_startup_smartflow': ~/php-5.1.1/ext/smartflow/smartflow.c:109: error: too few arguments to function 'zend_register_internal_class' make: *** [ext/smartflow/smartflow.lo] Fehler 1