File tree Expand file tree Collapse file tree 4 files changed +350
-324
lines changed Expand file tree Collapse file tree 4 files changed +350
-324
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ PHP NEWS
6
6
. Fixed bug #78768 (redefinition of typedef zend_property_info). (Nikita)
7
7
. Fixed bug #78788 (./configure generates invalid php_version.h). (max)
8
8
9
+ - FFI:
10
+ . Fixed bug #78714 (funcs returning pointer can't use call convention spec).
11
+ (Dmitry)
12
+
9
13
- Standard:
10
14
. Fixed bug #77930 (stream_copy_to_stream should use mmap more often).
11
15
(Nikita)
Original file line number Diff line number Diff line change @@ -127,16 +127,6 @@ declaration_specifiers(zend_ffi_dcl *dcl):
127
127
{ dcl-> flags |= ZEND_FFI_DCL_INLINE;}
128
128
| " _Noreturn"
129
129
{ dcl-> flags |= ZEND_FFI_DCL_NO_RETURN;}
130
- | " __cdecl"
131
- { zend_ffi_set_abi(dcl, ZEND_FFI_ABI_CDECL);}
132
- | " __stdcall"
133
- { zend_ffi_set_abi(dcl, ZEND_FFI_ABI_STDCALL);}
134
- | " __fastcall"
135
- { zend_ffi_set_abi(dcl, ZEND_FFI_ABI_FASTCALL);}
136
- | " __thiscall"
137
- { zend_ffi_set_abi(dcl, ZEND_FFI_ABI_THISCALL);}
138
- | " __vectorcall"
139
- { zend_ffi_set_abi(dcl, ZEND_FFI_ABI_VECTORCALL);}
140
130
| " _Alignas"
141
131
" ("
142
132
( &type_name_start
@@ -494,6 +484,16 @@ attributes(zend_ffi_dcl *dcl):
494
484
)?
495
485
)+
496
486
" )"
487
+ | " __cdecl"
488
+ { zend_ffi_set_abi(dcl, ZEND_FFI_ABI_CDECL);}
489
+ | " __stdcall"
490
+ { zend_ffi_set_abi(dcl, ZEND_FFI_ABI_STDCALL);}
491
+ | " __fastcall"
492
+ { zend_ffi_set_abi(dcl, ZEND_FFI_ABI_FASTCALL);}
493
+ | " __thiscall"
494
+ { zend_ffi_set_abi(dcl, ZEND_FFI_ABI_THISCALL);}
495
+ | " __vectorcall"
496
+ { zend_ffi_set_abi(dcl, ZEND_FFI_ABI_VECTORCALL);}
497
497
)++
498
498
;
499
499
You can’t perform that action at this time.
0 commit comments