From 7252a6e1ec8d1fbe6f287fc1db17be0a16122f41 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Thu, 30 Apr 2020 22:29:13 +0200 Subject: [PATCH] Remove unneeded function --- src/wren/vm_fun.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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);