Enables wchar32
This commit is contained in:
parent
f933cfed13
commit
f5ed86c136
12 changed files with 82 additions and 35 deletions
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"defines": [],
|
||||
"enums": [],
|
||||
"typedefs": [],
|
||||
"structs": [],
|
||||
"functions": []
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"defines": [],
|
||||
"enums": [],
|
||||
"typedefs": [],
|
||||
"structs": [],
|
||||
"functions": []
|
||||
}
|
||||
16
src/cached/dcimgui_impl_sdl3_zimconfig.json
Normal file
16
src/cached/dcimgui_impl_sdl3_zimconfig.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"defines": [
|
||||
{
|
||||
"name": "DIMGUI_USE_WCHAR32",
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "zimconfig.h",
|
||||
"line": 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"enums": [],
|
||||
"typedefs": [],
|
||||
"structs": [],
|
||||
"functions": []
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"defines": [],
|
||||
"enums": [],
|
||||
"typedefs": [],
|
||||
"structs": [],
|
||||
"functions": []
|
||||
}
|
||||
16
src/cached/dcimgui_impl_vulkan_zimconfig.json
Normal file
16
src/cached/dcimgui_impl_vulkan_zimconfig.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"defines": [
|
||||
{
|
||||
"name": "DIMGUI_USE_WCHAR32",
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "zimconfig.h",
|
||||
"line": 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"enums": [],
|
||||
"typedefs": [],
|
||||
"structs": [],
|
||||
"functions": []
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"defines": [],
|
||||
"enums": [],
|
||||
"typedefs": [],
|
||||
"structs": [],
|
||||
"functions": []
|
||||
}
|
||||
16
src/cached/dcimgui_internal_zimconfig.json
Normal file
16
src/cached/dcimgui_internal_zimconfig.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"defines": [
|
||||
{
|
||||
"name": "DIMGUI_USE_WCHAR32",
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "zimconfig.h",
|
||||
"line": 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"enums": [],
|
||||
"typedefs": [],
|
||||
"structs": [],
|
||||
"functions": []
|
||||
}
|
||||
16
src/cached/dcimgui_zimconfig.json
Normal file
16
src/cached/dcimgui_zimconfig.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"defines": [
|
||||
{
|
||||
"name": "DIMGUI_USE_WCHAR32",
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "zimconfig.h",
|
||||
"line": 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"enums": [],
|
||||
"typedefs": [],
|
||||
"structs": [],
|
||||
"functions": []
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
2
src/include/imconfig_zig.h
Normal file
2
src/include/imconfig_zig.h
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#pragma once
|
||||
#define IMGUI_USE_WCHAR32
|
||||
Loading…
Add table
Add a link
Reference in a new issue