Move more stuff to wren_types.hpp
This commit is contained in:
parent
edd5f27ab2
commit
7fcb89e459
3 changed files with 6 additions and 6 deletions
|
@ -22,10 +22,6 @@
|
|||
#include "error_type.hpp"
|
||||
|
||||
namespace wren {
|
||||
class VM;
|
||||
|
||||
typedef void(*foreign_method_t)(VM&);
|
||||
|
||||
class DefConfiguration : public Configuration {
|
||||
public:
|
||||
static void write_fn (VM*, wren_string_t text);
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#if defined(WRENPP_WITH_NAME_GUESSING)
|
||||
# include "guess_class_name.hpp"
|
||||
#endif
|
||||
#include "wren_types.hpp"
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
@ -30,8 +31,6 @@
|
|||
#include <utility>
|
||||
|
||||
namespace wren {
|
||||
typedef std::tuple<const char*, const char*> ModuleAndName;
|
||||
|
||||
namespace detail {
|
||||
template <typename T> struct GetTypeToRetType;
|
||||
template <typename T> using GetTypeToRetType_t = typename GetTypeToRetType<T>::type;
|
||||
|
|
|
@ -16,7 +16,12 @@
|
|||
*/
|
||||
|
||||
#include <string_view>
|
||||
#include <tuple>
|
||||
|
||||
namespace wren {
|
||||
class VM;
|
||||
|
||||
typedef std::string_view wren_string_t;
|
||||
typedef void(*foreign_method_t)(VM&);
|
||||
typedef std::tuple<const char*, const char*> ModuleAndName;
|
||||
} //namespace wren
|
||||
|
|
Loading…
Reference in a new issue