From 0c71feb0363b337152f11e301303f85f9621c148 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 20 Jul 2017 08:55:31 +0200 Subject: Add modularized version --- libmformat/libmformat/format.mxx | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libmformat/libmformat/format.mxx (limited to 'libmformat/libmformat/format.mxx') 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); +} -- cgit v1.1