diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-15 04:53:42 +0630 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-15 04:55:51 +0630 |
commit | f661438c93806e42cfbbbd39d79c77924a4a5a16 (patch) | |
tree | f6fcbc9542822528b83f7e16b41cc58fe9ea9bfc /asm/base.hpp | |
parent | 0385d4bb8dafe6c4968fcc83888b5dd3e18e861f (diff) | |
download | ovm-f661438c93806e42cfbbbd39d79c77924a4a5a16.tar.gz ovm-f661438c93806e42cfbbbd39d79c77924a4a5a16.tar.bz2 ovm-f661438c93806e42cfbbbd39d79c77924a4a5a16.zip |
Moved read_file to a general base library
Diffstat (limited to 'asm/base.hpp')
-rw-r--r-- | asm/base.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/asm/base.hpp b/asm/base.hpp new file mode 100644 index 0000000..b956028 --- /dev/null +++ b/asm/base.hpp @@ -0,0 +1,20 @@ +/* Copyright (C) 2024 Aryadev Chavali + + * You may distribute and modify this code under the terms of the GPLv2 + * license. You should have received a copy of the GPLv2 license with + * this file. If not, please write to: aryadev@aryadevchavali.com. + + * Created: 2024-04-14 + * Author: Aryadev Chavali + * Description: Base library + */ + +#ifndef BASE_HPP +#define BASE_HPP + +#include <optional> +#include <string> + +std::optional<std::string> read_file(const char *); + +#endif |