Complete splitting code into source files.

This commit is contained in:
2018-08-17 01:34:58 -07:00
parent dfad4a2cfc
commit 48355b0736
15 changed files with 263 additions and 216 deletions

13
include/util.hpp Normal file
View File

@@ -0,0 +1,13 @@
#pragma once
#include "types.hpp"
#include "ref.hpp"
template <typename T>
ref create_value(libab* ab, T* val);
template <>
ref create_value<string>(libab* ab, string* param);
template <>
ref create_value<number>(libab* ab, number* param);