Re: ffi.getmetatable

  • From: Florian Weimer <fw@xxxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sat, 22 Nov 2014 18:54:19 +0100

* Ronan Collobert:

> Do you think it would be reasonable to have a
> ffi.getmetatable(ctype) function, which returns the original
> “metatable” given by user through ffi.metatype? (code in attachment)
> — If yes, I can work on the compiled version. I sincerely feel this
> is missing in the current ffi lib.

Shouldn't it be called “getmetatype”, to avoid the confusion you
mentioned?

Other related posts: