Changeset 103 for trunk/processor/processor.m4
- Timestamp:
- 2006-08-27T07:09:02+02:00 (7 years ago)
- File:
-
- 1 edited
-
trunk/processor/processor.m4 (modified) (16 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/processor/processor.m4
r99 r103 19 19 DEF_STRUCT_P_FUNC(`zend_compiled_variable', , ` 20 20 DISPATCH(int, name_len) 21 PROC_ USTRING_L(, name, name_len)21 PROC_ZSTRING_L(, name, name_len) 22 22 DISPATCH(ulong, hash_value) 23 23 ') … … 115 115 case IS_UNICODE: 116 116 proc_unicode: 117 DISPATCH(int32_t, value.u str.len)118 PROC_ USTRING_L(1, value.ustr.val, value.ustr.len)117 DISPATCH(int32_t, value.uni.len) 118 PROC_ZSTRING_L(1, value.uni.val, value.uni.len) 119 119 break; 120 120 #endif … … 200 200 DEF_STRUCT_P_FUNC(`zend_arg_info', , ` 201 201 DISPATCH(zend_uint, name_len) 202 PROC_ USTRING_L(, name, name_len)202 PROC_ZSTRING_L(, name, name_len) 203 203 DISPATCH(zend_uint, class_name_len) 204 PROC_ USTRING_L(, class_name, class_name_len)204 PROC_ZSTRING_L(, class_name, class_name_len) 205 205 DISPATCH(zend_bool, array_type_hint) 206 206 DISPATCH(zend_bool, allow_null) … … 216 216 DISPATCH(int, flags) 217 217 DISPATCH(uint, name_len) 218 PROC_ STRING_L(name, name_len)218 PROC_ZSTRING_L(, name, name_len) 219 219 zstr name; 220 220 DISPATCH(int, module_number) … … 248 248 DISPATCH(zend_uint, flags) 249 249 DISPATCH(int, name_length) 250 PROC_ USTRING_L(, name, name_length)250 PROC_ZSTRING_L(, name, name_length) 251 251 DISPATCH(ulong, h) 252 252 #ifdef ZEND_ENGINE_2_1 253 253 DISPATCH(int, doc_comment_len) 254 PROC_ USTRING_L(,doc_comment, doc_comment_len)254 PROC_STRING_L(doc_comment, doc_comment_len) 255 255 #endif 256 256 dnl isnt in php6 yet … … 268 268 DISPATCH(char, type) 269 269 DISPATCH(zend_uint, name_length) 270 PROC_ USTRING_L(, name, name_length)270 PROC_ZSTRING_L(, name, name_length) 271 271 IFRESTORE(` 272 272 #ifndef ZEND_ENGINE_2 … … 344 344 #ifdef ZEND_ENGINE_2_1 345 345 DISPATCH(zend_uint, doc_comment_len) 346 PROC_ USTRING_L(,doc_comment, doc_comment_len)346 PROC_STRING_L(doc_comment, doc_comment_len) 347 347 #endif 348 348 /* # NOT DONE */ … … 370 370 #endif 371 371 COPY(__call) 372 #ifdef IS_UNICODE373 SETNULL(u_twin)374 #endif375 372 /* # NOT DONE */ 376 373 COPY(module) … … 498 495 /* Common elements */ 499 496 DISPATCH(zend_uchar, type) 500 PROC_ USTRING(, function_name)497 PROC_ZSTRING(, function_name) 501 498 #ifdef ZEND_ENGINE_2 502 499 IFRESTORE(` … … 517 514 && zend_u_hash_find(&(processor->active_class_entry_dst->parent->function_table), 518 515 UG(unicode) ? IS_UNICODE : IS_STRING, 519 src->function_name, strlen(src->function_name) + 1,516 src->function_name, xc_zstrlen(UG(unicode), src->function_name) + 1, 520 517 (void **) &parent) == SUCCESS) { 521 518 /* see do_inherit_method_check() */ … … 574 571 /* END of common elements */ 575 572 #ifdef IS_UNICODE 576 SETNULL(u_twin)573 dnl SETNULL(u_twin) 577 574 #endif 578 575 … … 632 629 DISPATCH(zend_uint, line_end) 633 630 DISPATCH(int, doc_comment_len) 634 PROC_ USTRING_L(,doc_comment, doc_comment_len)631 PROC_STRING_L(doc_comment, doc_comment_len) 635 632 #endif 636 633 … … 651 648 #endif 652 649 IFRESTORE(`COPY(key)', ` 653 PROC_ USTRING_N(type, key, key_size)650 PROC_ZSTRING_N(type, key, key_size) 654 651 ') 655 652 STRUCT(zend_constant, constant) … … 663 660 #endif 664 661 IFRESTORE(`COPY(key)', ` 665 PROC_ USTRING_N(type, key, key_size)662 PROC_ZSTRING_N(type, key, key_size) 666 663 ') 667 664 STRUCT(zend_function, func) … … 674 671 #endif 675 672 IFRESTORE(`COPY(key)', ` 676 PROC_ USTRING_N(type, key, key_size)673 PROC_ZSTRING_N(type, key, key_size) 677 674 ') 678 675 #ifdef ZEND_ENGINE_2 … … 765 762 DISPATCH(int, name.str.len) 766 763 #endif 767 IFRESTORE(`COPY(name.str.val)', `PROC_USTRING_L(name_type, name.str.val, name.str.len)') 764 IFRESTORE(`COPY(name.str.val)', ` 765 #ifdef IS_UNICODE 766 PROC_ZSTRING_L(name_type, name.uni.val, name.uni.len) 767 #else 768 PROC_STRING_L(name.str.val, name.str.len) 769 #endif 770 ') 768 771 ') 769 772 DONE(name)
Note: See TracChangeset
for help on using the changeset viewer.

