Skip to content

Commit

Permalink
[update #4] dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tiawl committed Apr 21, 2024
2 parents bb5411f + 5c67503 commit 113dcd5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
},
}
6 changes: 2 additions & 4 deletions cimgui/cimgui.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <new> 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<>
Expand Down

0 comments on commit 113dcd5

Please sign in to comment.