[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT FFI: How to load 2 libraries into 2 ffi namespace and avoid conflicts?
- From: Johnson Lin <arch.jslin@...>
- Date: Sun, 28 Aug 2011 23:28:18 +0800
On Sun, Aug 28, 2011 at 7:33 PM, Mike Pall <mikelu-1108@mike.de> wrote:
>
> Sure, you can load a library into the global namespace:
> http://luajit.org/ext_ffi_api.html#ffi_load
>
> But that won't work on Windows, because it doesn't have a global
> symbol namespace. So yes, there are reasons behind the design of
> the FFI library ...
>
> --Mike
>
>
Sorry for not reading the doc thoroughly, my bad :(
Thanks again, Mike.
--
Johnson Lin