GE Lua Documentation

Press F to search!

metatype

Definition


-- @/=[C]:-1
function metatype(...)

Callers

@/lua/common/utils/pixellib.lua
LuaRGBAPixel.__index = LuaRGBAPixel
ffi.metatype("rgba_pixel_t", LuaRGBAPixel)
local newLuaRGBAPixel = function(r, g, b, a)
@/lua/common/libs/LuLPeg/lulpeg.lua
    end
    boolset_constructor = ffi.metatype('struct { int upper; bool v[?]; }', byteset_mt)
    function byteset_new (t)
@/lua/common/mathlib.lua
  end
  ffi.metatype("struct __luaVec3_t", LuaVec3)
else
  newLuaQuatxyzw = ffi.typeof("struct __luaQuat_t")
  ffi.metatype("struct __luaQuat_t", LuaQuat)
else