Skip to content

Commit 1f5057c

Browse files
authored
Merge pull request #1536 from fesily/fix-luajit-alias-type
meta template:luajit add cdata type
2 parents 22fde12 + 6e6eade commit 1f5057c

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)