summaryrefslogtreecommitdiffhomepage
path: root/include/CompilerKit/Detail
diff options
context:
space:
mode:
Diffstat (limited to 'include/CompilerKit/Detail')
-rw-r--r--include/CompilerKit/Detail/Config.h6
-rw-r--r--include/CompilerKit/Detail/PreConfig.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/include/CompilerKit/Detail/Config.h b/include/CompilerKit/Detail/Config.h
index 40a453d..3ab2c04 100644
--- a/include/CompilerKit/Detail/Config.h
+++ b/include/CompilerKit/Detail/Config.h
@@ -13,10 +13,12 @@
/// =========================================================== ///
#include <CompilerKit/Detail/PreConfig.h>
+#include <ocl/tproc.hpp>
namespace CompilerKit {
inline static constexpr int kBaseYear = 1900;
-using STLString = std::string;
+ using STLString = std::string;
+ using RopeString = ocl::tproc::crope;
inline STLString current_date() noexcept {
auto time_data = time(nullptr);
@@ -32,7 +34,7 @@ inline STLString current_date() noexcept {
return fmt;
}
-inline bool to_str(Char* str, Int32 limit, Int32 base) noexcept {
+inline bool to_str(char* str, Int32 limit, Int32 base) noexcept {
if (limit == 0) return false;
Int32 copy_limit = limit;
diff --git a/include/CompilerKit/Detail/PreConfig.h b/include/CompilerKit/Detail/PreConfig.h
index 28f1016..d7ea4c6 100644
--- a/include/CompilerKit/Detail/PreConfig.h
+++ b/include/CompilerKit/Detail/PreConfig.h
@@ -41,8 +41,6 @@
#define Int8 int8_t
#define UInt8 uint8_t
-#define Char char
-
#include <signal.h>
#include <stdint.h>
#include <time.h>