Skip to content

Commit 6e6eade

Browse files
committed
meta template:luajit add cdata type
1 parent 22fde12 commit 6e6eade

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

meta/template/basic.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ function tostring(v) end
237237
---| '"function"'
238238
---| '"thread"'
239239
---| '"userdata"'
240+
---#if VERSION == JIT then
241+
---| '"cdata"'
242+
---#end
240243

241244
---#DES 'type'
242245
---@param v any

0 commit comments

Comments
 (0)