mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-28 07:47:02 -05:00
includes/std: Added support for writing patterns to files
This commit is contained in:
@@ -59,9 +59,9 @@ namespace std::file {
|
||||
/**
|
||||
Writes the content of a string into a file
|
||||
@param handle The file handle to write to
|
||||
@param data String to write to the file
|
||||
@param data String or Pattern to write to the file
|
||||
*/
|
||||
fn write(Handle handle, str data) {
|
||||
fn write(Handle handle, auto data) {
|
||||
builtin::std::file::write(handle, data);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user