On Sun, May 13, 2012 at 9:59 PM, Fjölnir Ásgeirsson <fjolnir@xxxxxxxxxxxxx>wrote: > You'll have to create a library that defines a function pointer to them. > So if your inlined function is: static __inline__ int foo(double bar); > > Hmmmmm, I was hoping to be able to define that function in lua and somehow add it to a metatable that contains also the ffi functions. Not possible? Kaj