Search found 2 matches

by iangel
Wed Jan 18, 2023 8:18 pm
Forum: Support and Development
Topic: How can i add my own LUA Functions using C into the LÖVE Api?
Replies: 3
Views: 1029

Re: How can i add my own LUA Functions using C into the LÖVE Api?

ivan wrote: Wed Jan 18, 2023 11:15 am 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++.
I see now, thanks ivan i'll check if it's possible to do it :ultraglee:
by iangel
Tue Jan 17, 2023 11:13 pm
Forum: Support and Development
Topic: How can i add my own LUA Functions using C into the LÖVE Api?
Replies: 3
Views: 1029

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.