Re: FFI newby question: importing C functions

  • From: Patrick Masotta <masottaus@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Tue, 26 Jun 2012 05:58:54 -0700 (PDT)


> I can confirm that it's not necessary to load the exe
> explicitly when
> you want to access its symbols (just as Mike said); just
> tested it
> with mingw32 on 64bit win7.
I can also confirm this; using it right now. It is nod needed to load the exe.


> 2012/6/26 Patrick Masotta <masottaus@xxxxxxxxx>:
> > Being able to manually add functions to the table would
> be handy, when you do not want to expose them to other type
> of linking different than LUA code calls...
> 
> I'm curious- why would you want that? Obfuscation?
> 
No, not obfuscation. I'm adding certain functions to my app that are meant to 
be exposed to LUA code but I do not want users linking against my exe for using 
those functions within their own non-LUA applications.


Other related posts: