]> gitweb.factorcode.org Git - factor.git/commit
VM: always use undecorated names when loading ffi functions
authorBjörn Lindqvist <bjourne@gmail.com>
Tue, 1 Sep 2015 12:40:32 +0000 (14:40 +0200)
committerBjörn Lindqvist <bjourne@gmail.com>
Wed, 2 Sep 2015 19:54:41 +0000 (21:54 +0200)
commitbc7f9ee669c46ac6890a5c5627ce5f26e721043a
tree7460c89857f4127b2c5cb87e05e3cf48effb3622
parentda3de080ee24cc7f75825ad6dbb34243e3528c22
VM: always use undecorated names when loading ffi functions

For win32, Factor tries four different function names when loading
stdcall and fastcall functions, in case decorated names are used in the
dll. It seems to not be necessary because a dll meant for 3rd party use
will always export undecorated
names (http://blogs.msdn.com/b/oldnewthing/archive/2004/01/12/57833.aspx).
Nmakefile
basis/compiler/cfg/builder/alien/alien-docs.factor
basis/compiler/cfg/builder/alien/alien.factor
basis/compiler/tests/alien.factor
vm/code_blocks.cpp
vm/ffi_test.def [new file with mode: 0644]