diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-07-20 08:55:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-07-20 08:55:31 +0200 |
commit | 0c71feb0363b337152f11e301303f85f9621c148 (patch) | |
tree | c87351ae473f43fff599061b9d1389f42357e0fd /libmformat/libmformat/format.mxx | |
parent | 28b92b59909030424420fefbca5a3f5df22337b5 (diff) |
Add modularized version
Diffstat (limited to 'libmformat/libmformat/format.mxx')
-rw-r--r-- | libmformat/libmformat/format.mxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libmformat/libmformat/format.mxx b/libmformat/libmformat/format.mxx new file mode 100644 index 0000000..c1e69ee --- /dev/null +++ b/libmformat/libmformat/format.mxx @@ -0,0 +1,13 @@ +// file: libmformat/format.mxx -*- C++ -*- + +export module format; + +import std.core; + +export namespace format +{ + enum class volume {quiet, normal, loud}; + + __symexport std::string + message (const std::string& greeting, const std::string& name, volume); +} |