mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-04-03 05:57:39 -05:00
includes/std: Moved stdlib to std folder, added all builtin functions
This commit is contained in:
22
includes/std/io.pat
Normal file
22
includes/std/io.pat
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
namespace std {
|
||||
|
||||
fn print(str fmt, auto ... args) {
|
||||
builtin::std::print(fmt, args);
|
||||
};
|
||||
|
||||
fn format(str fmt, auto ... args) {
|
||||
return builtin::std::format(fmt, args);
|
||||
};
|
||||
|
||||
|
||||
fn error(str message) {
|
||||
builtin::std::error(message);
|
||||
};
|
||||
|
||||
fn warning(str message) {
|
||||
builtin::std::warning(message);
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user