Re: ffi and inline functions

  • From: Kaj Eijlers <bizziboi@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sun, 13 May 2012 22:06:38 -0700

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

Other related posts: