How can i add my own LUA Functions using C into the LÖVE Api?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
How can i add my own LUA Functions using C into the LÖVE Api?
Recently i've been experimenting Lua in C and i wanna know if is there a way to implement Lua functions into the LÖVE Api.
Re: How can i add my own LUA Functions using C into the LÖVE Api?
The LÖVE API is not written in Lua so no you cannot modify its functions without rebuilding LÖVE.
You can use FFI to call C functions exported from binary or DLL files.
Please note that FFI cannot create instances of C++ objects so the DLL functionality must use C not C++.
You can use FFI to call C functions exported from binary or DLL files.
Please note that FFI cannot create instances of C++ objects so the DLL functionality must use C not C++.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 5 guests