diff --git a/src/wren/vm_fun.cpp b/src/wren/vm_fun.cpp index f6e2f05..494e2a3 100644 --- a/src/wren/vm_fun.cpp +++ b/src/wren/vm_fun.cpp @@ -4,14 +4,13 @@ #include namespace wren { + namespace detail { + } //namespace detail + void set (VM& vm, int slot_num, const char* beg, const char* end) { vm.set_slot_bytes(slot_num, beg, std::distance(beg, end)); } - void set (VM& vm, int slot_num, const Handle& handle) { - vm.set_slot_handle(handle, slot_num); - } - std::string_view slot_string_view (VM& vm, int slot_num) { assert(SlotType::String == vm.slot_type(slot_num)); auto ptr = vm.slot_bytes(slot_num);