diff options
author | fesily <fesil@foxmail.com> | 2023-05-11 15:50:46 +0800 |
---|---|---|
committer | fesily <fesil@foxmail.com> | 2023-05-11 15:50:46 +0800 |
commit | c0702f050bfe3bf03214351ca0a7f090c0c5d489 (patch) | |
tree | c8375dba1c09d892158282cb60f6939cda696754 /script/LuaJIT/c-parser | |
parent | 46f6f7ac596e05af3d56d22ae5a4fe44f815eab9 (diff) | |
download | lua-language-server-c0702f050bfe3bf03214351ca0a7f090c0c5d489.zip |
more test
Diffstat (limited to 'script/LuaJIT/c-parser')
-rw-r--r-- | script/LuaJIT/c-parser/ctypes.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/script/LuaJIT/c-parser/ctypes.lua b/script/LuaJIT/c-parser/ctypes.lua index 07954311..babb2cbb 100644 --- a/script/LuaJIT/c-parser/ctypes.lua +++ b/script/LuaJIT/c-parser/ctypes.lua @@ -292,17 +292,43 @@ end local base_types = { ["char"] = true, ["const"] = true, + ["bool"] = true, ["double"] = true, ["float"] = true, ["int"] = true, ["long"] = true, ["short"] = true, ["signed"] = true, + ["__signed"] = true, + ["__signed__"] = true, ["unsigned"] = true, ["void"] = true, ["volatile"] = true, + ["ptrdiff_t"] = true, + ["size_t"] = true, + ["ssize_t"] = true, + ["wchar_t"] = true, + ["int8_t"] = true, + ["int16_t"] = true, + ["int32_t"] = true, + ["int64_t"] = true, + ["uint8_t"] = true, + ["uint16_t"] = true, + ["uint32_t"] = true, + ["uint64_t"] = true, + ["intptr_t"] = true, + ["uintptr_t"] = true, + ["__int8"] = true, + ["__int16"] = true, + ["__int32"] = true, + ["__int64"] = true, ["_Bool"] = true, + ["__ptr32"] = true, + ["__ptr64"] = true, ["_Complex"] = true, + ["complex"] = true, + ["__complex"] = true, + ["__complex__"] = true, ["*"] = true, } |