From 9c6bfeb50fa92ac17966a550d55116d76614f95d Mon Sep 17 00:00:00 2001 From: Marijn Kneppers Date: Sun, 12 May 2024 23:38:57 +0200 Subject: [PATCH] includes/hex: Added hex::core::add_virtual_file (#247) --- includes/hex/core.pat | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/includes/hex/core.pat b/includes/hex/core.pat index ff2ac72..5e54d3b 100644 --- a/includes/hex/core.pat +++ b/includes/hex/core.pat @@ -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); + } + }