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
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
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
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
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