Complete splitting code into source files.
This commit is contained in:
13
include/util.hpp
Normal file
13
include/util.hpp
Normal 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);
|
||||
Reference in New Issue
Block a user