Commit 51775850 authored by Tom Niget's avatar Tom Niget

Move file to global namespace

parent f9626ea5
...@@ -180,9 +180,9 @@ struct { ...@@ -180,9 +180,9 @@ struct {
}; };
} file; } file;
namespace typon { // namespace typon {
using PyFile = decltype(file)::type; using PyFile = decltype(file)::type;
} //}
typon::Task<typon::PyFile> open(const PyStr &path, std::string_view mode) { typon::Task<typon::PyFile> open(const PyStr &path, std::string_view mode) {
const char *path_c = path.c_str(); const char *path_c = path.c_str();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment