1
0
mirror of synced 2024-12-15 17:21:16 +01:00
ImHex/plugins/script_loader/source/script_api/v1/bookmarks.cpp

9 lines
269 B
C++
Raw Normal View History

#include <script_api.hpp>
#include <hex/api/imhex_api.hpp>
#define VERSION V1
SCRIPT_API(void createBookmark, u64 address, u64 size, u32 color, const char *name, const char *description) {
hex::ImHexApi::Bookmarks::add(address, size, name, description, color);
}