imgui-memory-editor-sys 0.3.0

Raw FFI bindings to imgui memory editor
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#include "imgui.h"
#include "vendor/imgui-memory-editor/imgui_memory_editor/imgui_memory_editor.h"

extern "C" {
    void Editor_Create(MemoryEditor& editor) { editor = MemoryEditor(); }
    void Editor_DrawContents(MemoryEditor& editor, void* mem_data_void, size_t mem_size, size_t base_display_addr) {
        editor.DrawContents(mem_data_void, mem_size, base_display_addr);
    };
    void Editor_DrawWindow(MemoryEditor& editor, const char* title, void* mem_data, size_t mem_size, size_t base_display_addr) {
        editor.DrawWindow(title, mem_data, mem_size, base_display_addr);
    }
}