summaryrefslogtreecommitdiff
path: root/src/bindings/luajit/eolian.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/luajit/eolian.lua')
-rw-r--r--src/bindings/luajit/eolian.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua
index e92e587e0a..2be1b6a981 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -449,8 +449,6 @@ ffi.cdef [[
449 449
450 const char *eolian_type_c_type_get(const Eolian_Type *tp, Eolian_C_Type_Type ctype); 450 const char *eolian_type_c_type_get(const Eolian_Type *tp, Eolian_C_Type_Type ctype);
451 const char *eolian_typedecl_c_type_get(const Eolian_Typedecl *tp); 451 const char *eolian_typedecl_c_type_get(const Eolian_Typedecl *tp);
452
453 const char *eolian_type_free_func_get(const Eolian_Type *tp);
454 const char *eolian_typedecl_free_func_get(const Eolian_Typedecl *tp); 452 const char *eolian_typedecl_free_func_get(const Eolian_Typedecl *tp);
455 453
456 const Eolian_Function *eolian_typedecl_function_pointer_get(const Eolian_Typedecl *tp); 454 const Eolian_Function *eolian_typedecl_function_pointer_get(const Eolian_Typedecl *tp);
@@ -1168,12 +1166,6 @@ M.Type = ffi.metatype("Eolian_Type", {
1168 local v = eolian.eolian_type_c_type_get(self, ctype) 1166 local v = eolian.eolian_type_c_type_get(self, ctype)
1169 if v == nil then return nil end 1167 if v == nil then return nil end
1170 return ffi_stringshare(v) 1168 return ffi_stringshare(v)
1171 end,
1172
1173 free_func_get = function(self)
1174 local v = eolian.eolian_type_free_func_get(self)
1175 if v == nil then return nil end
1176 return ffi.string(v)
1177 end 1169 end
1178 } 1170 }
1179}) 1171})