mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 11:58:30 +01:00
dont break cimgui.h on comments generation
This commit is contained in:
1
cimgui.h
1
cimgui.h
@@ -216,6 +216,7 @@ typedef ImU64 ImTextureID;
|
|||||||
typedef unsigned short ImDrawIdx;
|
typedef unsigned short ImDrawIdx;
|
||||||
typedef unsigned int ImWchar32;
|
typedef unsigned int ImWchar32;
|
||||||
typedef unsigned short ImWchar16;
|
typedef unsigned short ImWchar16;
|
||||||
|
|
||||||
#ifdef IMGUI_USE_WCHAR32
|
#ifdef IMGUI_USE_WCHAR32
|
||||||
typedef ImWchar32 ImWchar;
|
typedef ImWchar32 ImWchar;
|
||||||
#else
|
#else
|
||||||
|
@@ -225,7 +225,9 @@ local function colapse_defines(str, define)
|
|||||||
return str
|
return str
|
||||||
end
|
end
|
||||||
local wchardefine =
|
local wchardefine =
|
||||||
[[#ifdef IMGUI_USE_WCHAR32
|
[[
|
||||||
|
|
||||||
|
#ifdef IMGUI_USE_WCHAR32
|
||||||
typedef ImWchar32 ImWchar;
|
typedef ImWchar32 ImWchar;
|
||||||
#else
|
#else
|
||||||
typedef ImWchar16 ImWchar;
|
typedef ImWchar16 ImWchar;
|
||||||
|
Reference in New Issue
Block a user