MCPcopy Create free account
hub / github.com/Nelarius/imnodes / EditorContextCreate

Function EditorContextCreate

imnodes.cpp:1965–1970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1963void SetCurrentContext(ImNodesContext* ctx) { GImNodes = ctx; }
1964
1965ImNodesEditorContext* EditorContextCreate()
1966{
1967 void* mem = ImGui::MemAlloc(sizeof(ImNodesEditorContext));
1968 new (mem) ImNodesEditorContext();
1969 return (ImNodesEditorContext*)mem;
1970}
1971
1972void EditorContextFree(ImNodesEditorContext* ctx)
1973{

Callers 2

InitializeFunction · 0.85
NodeEditorInitializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected