Add way to get string basetype.

This commit is contained in:
2018-09-02 16:21:16 -07:00
parent 441e69065e
commit 13aa227470
2 changed files with 5 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ class abacus {
libab_basetype basetype_string = { [](void* s) { delete ((string*) s); }, NULL, 0 };
public:
abacus();
const libab_basetype* get_basetype_string();
void add_variable(const std::string& name, ref val);
void add_function(const std::string& name, libab_function_ptr ptr, const std::string& type);
void add_operator_infix(const std::string& op, const std::string& func, int assoc, int prec);