2016-08-15 01:19:59 +00:00
|
|
|
#ifndef LIBCUBESCRIPT_CS_UTIL_HH
|
|
|
|
#define LIBCUBESCRIPT_CS_UTIL_HH
|
|
|
|
|
|
|
|
#include <ostd/string.hh>
|
|
|
|
|
|
|
|
namespace cscript {
|
|
|
|
|
2016-08-15 17:55:22 +00:00
|
|
|
CsInt cs_parse_int(
|
2016-08-15 01:19:59 +00:00
|
|
|
ostd::ConstCharRange input, ostd::ConstCharRange *end = nullptr
|
|
|
|
);
|
|
|
|
|
2016-08-15 17:55:22 +00:00
|
|
|
CsFloat cs_parse_float(
|
2016-08-15 01:19:59 +00:00
|
|
|
ostd::ConstCharRange input, ostd::ConstCharRange *end = nullptr
|
|
|
|
);
|
|
|
|
|
|
|
|
} /* namespace cscript */
|
|
|
|
|
|
|
|
#endif /* LIBCUBESCRIPT_CS_UTIL_HH */
|