MFH: Make pass_two visible to extensions with ZEND_API (required for optimizer).

This commit is contained in:
Brian Shire 2009-06-05 23:20:59 +00:00
parent 04f5d7c909
commit cb7a21a42b
2 changed files with 2 additions and 2 deletions

View File

@ -582,7 +582,7 @@ void init_op(zend_op *op TSRMLS_DC);
int get_next_op_number(zend_op_array *op_array);
int print_class(zend_class_entry *class_entry TSRMLS_DC);
void print_op_array(zend_op_array *op_array, int optimizations);
int pass_two(zend_op_array *op_array TSRMLS_DC);
ZEND_API int pass_two(zend_op_array *op_array TSRMLS_DC);
zend_brk_cont_element *get_next_brk_cont_element(zend_op_array *op_array);
void zend_do_first_catch(znode *open_parentheses TSRMLS_DC);
void zend_initialize_try_catch_element(const znode *try_token TSRMLS_DC);

View File

@ -359,7 +359,7 @@ static void zend_extension_op_array_handler(zend_extension *extension, zend_op_a
}
}
int pass_two(zend_op_array *op_array TSRMLS_DC)
ZEND_API int pass_two(zend_op_array *op_array TSRMLS_DC)
{
zend_op *opline, *end;