Re: zend_compile.h patch
| From: | Alan Knowles | Date: | Wed, 16 Oct 2002 14:03:32 +0000 |
| Subject: | Re: zend_compile.h patch | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89570@lists.php.net to get a copy of this message | ||
Edin Kadribasic wrote:
Any objections to exporting another function from zend_compile.h by applying this patch? I need this in order to compile pear/PECL/bcompiler on Windows. Edin actually it's not needed 'at present' cause the compiled bytecodes do not use inheritance (as the compiled bytecode includes the 'merged' view of the class'..,however - if and when I get round to writing conditional method/var class compiling, it will be needed..Regards Alan
------------------------------------------------------------------------ Index: zend_compile.h =================================================================== RCS file: /repository/Zend/zend_compile.h,v retrieving revision 1.144 diff -u -r1.144 zend_compile.h --- zend_compile.h 4 Aug 2002 06:39:44 -0000 1.144 +++ zend_compile.h 16 Oct 2002 13:35:35 -0000 @@ -273,7 +273,7 @@ void zend_do_end_function_call(znode *function_name, znode *result, znode *argument_list, int is_method, int is_dynamic_fcall TSRMLS_DC); void zend_do_return(znode *expr, int do_end_vparse TSRMLS_DC); ZEND_API int do_bind_function_or_class(zend_op *opline, HashTable *function_table, HashTable *class_table, int compile_time); -void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce); +ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce); void zend_do_early_binding(TSRMLS_D); void zend_do_pass_param(znode *param, int op, int offset TSRMLS_DC);