aboutsummaryrefslogtreecommitdiff
path: root/libbutl/manifest-types.mxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-09-28 19:24:31 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-09-28 20:29:59 +0300
commitdf1ef68cd8e8582724ce1192bfc202e0b9aeaf0c (patch)
treeb731ca4c68e60c00c7e7d499dbf4868ee7b71f44 /libbutl/manifest-types.mxx
parent7a4fc37f264cdb67f2f83fa92703c869215bbc86 (diff)
Get rid of C++ modules related code and rename *.mxx files to *.hxx
Diffstat (limited to 'libbutl/manifest-types.mxx')
-rw-r--r--libbutl/manifest-types.mxx48
1 files changed, 0 insertions, 48 deletions
diff --git a/libbutl/manifest-types.mxx b/libbutl/manifest-types.mxx
deleted file mode 100644
index 93f6fc6..0000000
--- a/libbutl/manifest-types.mxx
+++ /dev/null
@@ -1,48 +0,0 @@
-// file : libbutl/manifest-types.mxx -*- C++ -*-
-// license : MIT; see accompanying LICENSE file
-
-#ifndef __cpp_modules_ts
-#pragma once
-#endif
-
-// C includes.
-
-#ifndef __cpp_lib_modules_ts
-#include <string>
-#include <cstdint> // uint64_t
-#endif
-
-// Other includes.
-
-#ifdef __cpp_modules_ts
-export module butl.manifest_types;
-#ifdef __cpp_lib_modules_ts
-import std.core;
-#endif
-#else
-#endif
-
-#include <libbutl/export.hxx>
-
-LIBBUTL_MODEXPORT namespace butl
-{
- class manifest_name_value
- {
- public:
- std::string name;
- std::string value;
-
- std::uint64_t name_line;
- std::uint64_t name_column;
-
- std::uint64_t value_line;
- std::uint64_t value_column;
-
- std::uint64_t start_pos; // Position of name/value-starting character.
- std::uint64_t colon_pos; // Position of name/value-separating ':'.
- std::uint64_t end_pos; // Position of name/value-terminating '\n' or EOF.
-
- bool
- empty () const {return name.empty () && value.empty ();}
- };
-}