mirror of
https://github.com/cimgui/cimgui.git
synced 2025-11-30 21:51:40 +00:00
cpp2ffi: genConversion take care of ptr to nonPOD fields, avoid infinite recursion on gen_structs_c
This commit is contained in:
3
cimgui.h
3
cimgui.h
@@ -3818,7 +3818,6 @@ struct SDL_Window;
|
||||
typedef union SDL_Event SDL_Event;
|
||||
#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
|
||||
|
||||
#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
typedef struct ImTextureRef_c ImTextureRef;
|
||||
typedef struct ImVec2_c ImVec2;
|
||||
@@ -3860,6 +3859,8 @@ struct ImRect_c {
|
||||
ImVec2_c Max;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
typedef struct ImGuiTextFilter::ImGuiTextRange ImGuiTextRange;
|
||||
typedef ImStb::STB_TexteditState STB_TexteditState;
|
||||
|
||||
Reference in New Issue
Block a user