make some types not configurable

master
Daniel Kolesa 2016-11-11 22:19:51 +01:00
parent 128a961869
commit 58b8f3ba54
2 changed files with 6 additions and 7 deletions

View File

@ -14,14 +14,7 @@ namespace cscript {
using CsFloat = float;
using CsString = ostd::String;
template<typename K, typename V>
using CsMap = ostd::Map<K, V>;
template<typename T>
using CsVector = ostd::Vector<T>;
constexpr CsInt const CsIntMin = INT_MIN;
constexpr CsInt const CsIntMax = INT_MAX;
constexpr auto const IntFormat = "%d";
constexpr auto const FloatFormat = "%.7g";

View File

@ -7,6 +7,12 @@
namespace cscript {
template<typename K, typename V>
using CsMap = ostd::Map<K, V>;
template<typename T>
using CsVector = ostd::Vector<T>;
CsInt cs_parse_int(
ostd::ConstCharRange input, ostd::ConstCharRange *end = nullptr
);