diff --git a/build.zig.zon b/build.zig.zon index 7ed45a3..e5685bd 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -13,8 +13,8 @@ .hash = "12207da00caa15c46dc7ef4ca3a5c982ccfe00759c70a17d4c179fd4b91f736d4650", }, .toolbox = .{ - .url = "https://github.com/tiawl/toolbox/archive/refs/tags/1.9.0.tar.gz", - .hash = "122079b3521afcfde887d4e076be92421995b5a8bee1611bdbf1019826f37682f82b", + .url = "https://github.com/tiawl/toolbox/archive/refs/tags/1.9.2.tar.gz", + .hash = "1220a1726c2ce32c1776071fb88b62e1f6f6f7f14cefc1670478323f62c0a95b5181", }, }, } diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index 323685b..6cae21b 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -2062,10 +2062,8 @@ CIMGUI_API ImStr ImStr_FromCharStr(const char* b); // Build an ImStr from a reg // Defining a custom placement new() with a custom parameter allows us to bypass including which on some platforms complains when user has disabled exceptions. //----------------------------------------------------------------------------- -#define IM_ALLOC(_SIZE) ImGui::MemAlloc(_SIZE) -#define IM_FREE(_PTR) ImGui::MemFree(_PTR) -#define IM_PLACEMENT_NEW(_PTR) new(ImNewWrapper(), _PTR) -#define IM_NEW(_TYPE) new(ImNewWrapper(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE +#define CIM_ALLOC(_SIZE) ImGui_MemAlloc(_SIZE) +#define CIM_FREE(_PTR) ImGui_MemFree(_PTR) //----------------------------------------------------------------------------- // ImVector<> diff --git a/dear_bindings b/dear_bindings index e5f8785..f7f1fb2 160000 --- a/dear_bindings +++ b/dear_bindings @@ -1 +1 @@ -Subproject commit e5f87859d48d1ba4caf3c2c660c42a06fd261631 +Subproject commit f7f1fb2f3ca053f51f67f1e6ff5b859d8bea89de