mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-27 23:37:04 -05:00
includes/hex: Added hex::core::add_virtual_file (#247)
This commit is contained in:
@@ -37,4 +37,14 @@ namespace auto hex::core {
|
||||
return result;
|
||||
};
|
||||
|
||||
/**
|
||||
Add a file to the Virtual Filesystem
|
||||
@param path The name of the file
|
||||
@param pattern The pattern associated with the file
|
||||
*/
|
||||
fn add_virtual_file(str path, auto pattern)
|
||||
{
|
||||
builtin::hex::core::add_virtual_file(path, pattern);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user