Skip to content

Commit

Permalink
Add missing enum type: CXType_Char_S
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnimuc committed May 3, 2024
1 parent 18f793b commit 5a1cc29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cursor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ function value(c::CLEnumConstantDecl)::Integer
end
if typeKind == CXType_Int ||
typeKind == CXType_Long ||
typeKind == CXType_LongLong
typeKind == CXType_LongLong ||
typeKind == CXType_Char_S # enum : char
return clang_getEnumConstantDeclValue(c)
elseif typeKind == CXType_UInt ||
typeKind == CXType_ULong ||
Expand Down

0 comments on commit 5a1cc29

Please sign in to comment.