test and backend_test prepared for IMGUI_HAS_IMSTR

This commit is contained in:
Victor Bombi
2021-01-30 19:31:14 +01:00
parent a64de2e303
commit afdbb6b799
2 changed files with 12 additions and 1 deletions

View File

@@ -2,6 +2,11 @@
#include <assert.h>
#include "../cimgui.h"
#ifdef IMGUI_HAS_IMSTR
#define igBegin igBegin_S
#define igSliderFloat igSliderFloat_S
#endif
int main(void)
{
assert(igDebugCheckVersionAndDataLayout(igGetVersion(), sizeof(ImGuiIO), sizeof(ImGuiStyle),