Moved read_file to a general base library

This commit is contained in:
2024-04-15 04:53:42 +06:30
parent 0385d4bb8d
commit f661438c93
4 changed files with 54 additions and 19 deletions

20
asm/base.hpp Normal file
View File

@@ -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