Re: FFI - calling C functions from pointers

  • From: Mike Pall <mike-1303@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 18 Mar 2013 15:52:16 +0100

Wojciech Barski wrote:
> Can I have a C function return a pointer to another C function and have FFI
> call the function pointed to?

Of course you can do that.

[I mean ... you already posted the code. Why not simply run it and
see what happens?]

--Mike

Other related posts: