Re: opaque pointers and metatype

  • From: Cosmin Apreutesei <cosmin.apreutesei@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sun, 2 Mar 2014 19:38:20 +0200

> now you can just say:
>
> local handle = ffi.new('OpaqueStruct_t')
> ffi.C.create(handle)
> ffi.C.destroy(handle)

By now, you mean lj 2.1 ? Cuz on 2.0 that gives me "size of C type is
unknown or too large".

Other related posts: