Remove unneeded function
This commit is contained in:
parent
b1c1ae40f5
commit
7252a6e1ec
1 changed files with 3 additions and 4 deletions
|
@ -4,14 +4,13 @@
|
|||
#include <utility>
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue