]> granicus.if.org Git - php/commit
Support calling convention specific function name mangling
authorChristoph M. Becker <cmbecker69@gmx.de>
Fri, 26 Jul 2019 12:37:34 +0000 (14:37 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sun, 4 Aug 2019 10:14:11 +0000 (12:14 +0200)
commit1ed9ebdea558a7ae265dcc460cedd2cbbaa48efc
tree7043e02bc4299160d96a093554c17425c0a9a719
parentf12dc90e5e965c9b6ea240a127e303c2c9d7c531
Support calling convention specific function name mangling

On Windows certain calling conventions cause C function names to be
mangled, so to import them we have to use the properly mangled names.
ext/ffi/ffi.c
ext/ffi/tests/callconv.phpt [new file with mode: 0644]
ext/ffi/tests/callconv_x86.dll [new file with mode: 0644]