From 6e6eade45c2242a4718d54d6d263af71b963c728 Mon Sep 17 00:00:00 2001 From: fesily Date: Thu, 8 Sep 2022 14:02:28 +0800 Subject: meta template:luajit add cdata type --- meta/template/basic.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta') diff --git a/meta/template/basic.lua b/meta/template/basic.lua index ee277b75..4d718f79 100644 --- a/meta/template/basic.lua +++ b/meta/template/basic.lua @@ -237,6 +237,9 @@ function tostring(v) end ---| '"function"' ---| '"thread"' ---| '"userdata"' +---#if VERSION == JIT then +---| '"cdata"' +---#end ---#DES 'type' ---@param v any -- cgit v1.2.3