Alienhead Posted January 16, 2023 Share Posted January 16, 2023 Hi, I've been searching for awhile now and have ran across limited success. I'm attempting to write some functions either in C or c++ and compile them for use with leadwerks luaJit. Before I continue any further I wanted to ask if it was even possible to call dynamic linked library functions within le/s jit compiler? Thanks. Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Josh Posted January 16, 2023 Share Posted January 16, 2023 There might be different ways to do this, but for the new Lua debugger I had to compile a sockets library into a DLL and load it as a Lua module. I had to use the exact same version of Lua as my program was using. I think the modules system could have also changed a bit in between the last version of LuaJIT and Lua 5.3. But yeah, it is definitely possible. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.