mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 13:05:25 -05:00
* Rework libimhex-rs to use autocxx * Remove Bookmarks::add overload * Remove manual usage of cxx-rs
12 lines
280 B
Rust
12 lines
280 B
Rust
use crate::ffi::hex::ImHexApi::Common;
|
|
|
|
/// Close ImHex, optionally prompting the user if they'd like to quit
|
|
pub fn close_imhex(without_question: bool) {
|
|
Common::closeImHex(without_question)
|
|
}
|
|
|
|
/// Close and reopen ImHex
|
|
pub fn restart_imhex() {
|
|
Common::restartImHex()
|
|
}
|