5171bea0bf
This PR intends to add support for .NET scripts that can extend ImHex's functionality in a portable and cross-platform way. --------- Co-authored-by: Justus Garbe <55301990+Nowilltolife@users.noreply.github.com>
9 lines
269 B
C++
9 lines
269 B
C++
#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);
|
|
} |