includes: Added documentation for a few more files

This commit is contained in:
WerWolv
2023-03-26 16:58:39 +02:00
parent a9a7f0b186
commit 3edc6ea172
3 changed files with 296 additions and 6 deletions

View File

@@ -2,13 +2,24 @@
#include <hex/impl/imhex_check.pat>
/*!
Core intrinsic functions to interact with the ImHex Hex Editor
*/
namespace hex::core {
/**
A type representing a selection in the hex editor
*/
struct Selection {
bool valid;
u64 address, size;
};
/**
Returns the current selection in the hex editor
@return The current selection
*/
fn get_selection() {
u128 result = builtin::hex::core::get_selection();