Commit Graph

24 Commits

Author SHA1 Message Date
Mike Pall
96d54789ee Merge branch 'master' into v2.1 2013-07-24 23:50:58 +02:00
Mike Pall
6dc02450d3 FFI: Properly unload loaded DLLs. 2013-07-24 23:49:19 +02:00
Mike Pall
19a9206caf Refactor internal string formatting. 2013-05-12 23:52:09 +02:00
Mike Pall
4a44c4ff69 Bump copyright date to 2013. 2013-02-11 12:54:48 +01:00
Mike Pall
e6bcb545f8 FFI: Don't call FreeLibrary() on our own EXE/DLL. 2012-05-14 13:41:08 +02:00
Mike Pall
407cc5e9ec FFI: Fix symbol resolving error messages on Windows. 2012-03-31 22:23:46 +02:00
Mike Pall
03275ba7fc FFI: Fix resolving of function name redirects on Windows/x86. 2012-03-31 22:19:47 +02:00
Mike Pall
339142c2aa FFI: Change ffi.load() library name resolution for Cygwin. 2012-03-21 22:09:01 +01:00
Mike Pall
d72d758a11 FFI: Fix library unloading on POSIX systems. 2012-02-01 18:21:12 +01:00
Mike Pall
10ef109eef Bump copyright date to 2012. 2012-01-23 22:42:42 +01:00
Mike Pall
0a31c6373c Don't increment module reference counts due to symbol resolving. 2011-11-27 11:45:55 +01:00
Mike Pall
90c445851f FFI: Fix GetLastError() save/restore around ffi.load(). 2011-11-25 12:25:51 +01:00
Mike Pall
c2dcf39ee3 FFI: Improve ld script detection in ffi.load(). 2011-11-25 11:19:59 +01:00
Mike Pall
d4df8d7825 FFI: Save GetLastError() around ffi.load() and symbol resolving, too. 2011-11-15 16:37:06 +01:00
Mike Pall
aad7ea3c02 Load embedded bytecode with require(). 2011-08-17 00:10:12 +02:00
Mike Pall
6c43767c23 FFI: Resolve ld script redirection in ffi.load(). 2011-03-01 12:31:16 +01:00
Mike Pall
c031d4b6a0 DUALNUM: Handle integer type in FFI. 2011-02-27 01:31:22 +01:00
Mike Pall
54b6054087 FFI: Fix management of C library handles for default namespace. 2011-02-16 23:52:18 +01:00
Mike Pall
14f5103764 FFI: Record C library namespace lookups. 2011-02-05 14:16:16 +01:00
Mike Pall
1b75ec22c8 FFI: Add symbol name redirection.
This works like the GCC extension, e.g.:
FILE *fopen(const char *fn, const char *mode) __asm__("" "fopen64");
2011-01-26 02:31:19 +01:00
Mike Pall
ef3b209127 FFI: Fix ffi.load() error message on Windows. 2011-01-23 14:28:01 +01:00
Mike Pall
1548383dbe Avoid compiler warnings. 2011-01-12 18:22:00 +01:00
Mike Pall
a54843bb51 FFI: Lookup decorated name for fastcall/stdcall functions. 2011-01-11 03:08:54 +01:00
Mike Pall
ddf6596333 FFI: Add ffi.load() and ffi.C default namespace. 2011-01-10 03:43:18 +01:00