Enables wchar32

This commit is contained in:
Mason Remaley 2025-11-17 03:33:48 -08:00
parent f933cfed13
commit f5ed86c136
12 changed files with 82 additions and 35 deletions

View file

@ -1,7 +0,0 @@
{
"defines": [],
"enums": [],
"typedefs": [],
"structs": [],
"functions": []
}

View file

@ -1,7 +0,0 @@
{
"defines": [],
"enums": [],
"typedefs": [],
"structs": [],
"functions": []
}

View file

@ -0,0 +1,16 @@
{
"defines": [
{
"name": "DIMGUI_USE_WCHAR32",
"is_internal": false,
"source_location": {
"filename": "zimconfig.h",
"line": 2
}
}
],
"enums": [],
"typedefs": [],
"structs": [],
"functions": []
}

View file

@ -1,7 +0,0 @@
{
"defines": [],
"enums": [],
"typedefs": [],
"structs": [],
"functions": []
}

View file

@ -0,0 +1,16 @@
{
"defines": [
{
"name": "DIMGUI_USE_WCHAR32",
"is_internal": false,
"source_location": {
"filename": "zimconfig.h",
"line": 2
}
}
],
"enums": [],
"typedefs": [],
"structs": [],
"functions": []
}

View file

@ -1,7 +0,0 @@
{
"defines": [],
"enums": [],
"typedefs": [],
"structs": [],
"functions": []
}

View file

@ -0,0 +1,16 @@
{
"defines": [
{
"name": "DIMGUI_USE_WCHAR32",
"is_internal": false,
"source_location": {
"filename": "zimconfig.h",
"line": 2
}
}
],
"enums": [],
"typedefs": [],
"structs": [],
"functions": []
}

View file

@ -0,0 +1,16 @@
{
"defines": [
{
"name": "DIMGUI_USE_WCHAR32",
"is_internal": false,
"source_location": {
"filename": "zimconfig.h",
"line": 2
}
}
],
"enums": [],
"typedefs": [],
"structs": [],
"functions": []
}

View file

@ -961,10 +961,10 @@ fn skip(conditionals: []const Header.Conditional) bool {
if (std.mem.eql(u8, conditional.expression, "IMGUI_ENABLE_STB_TRUETYPE")) break :b true;
if (std.mem.eql(u8, conditional.expression, "IMGUI_ENABLE_FREETYPE")) break :b true;
if (std.mem.eql(u8, conditional.expression, "IMGUI_ENABLE_TEST_ENGINE")) break :b true;
if (std.mem.eql(u8, conditional.expression, "IMGUI_USE_WCHAR32")) break :b true;
// False conditionals
if (std.mem.eql(u8, conditional.expression, "IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT")) break :b false;
if (std.mem.eql(u8, conditional.expression, "IMGUI_USE_WCHAR32")) break :b false;
if (std.mem.eql(u8, conditional.expression, "ImTextureID")) break :b false;
if (std.mem.eql(u8, conditional.expression, "ImDrawIdx")) break :b false;
if (std.mem.eql(u8, conditional.expression, "ImDrawCallback")) break :b false;

View file

@ -0,0 +1,2 @@
#pragma once
#define IMGUI_USE_WCHAR32