Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
luckboy committed Jul 26, 2019
2 parents f4b7026 + 796fdd2 commit 4b4fdd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/letin/native.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright (C) 2015 Łukasz Szpakowski. *
* Copyright (C) 2015, 2019 Łukasz Szpakowski. *
* *
* This software is licensed under the GNU Lesser General Public *
* License v3 or later. See the LICENSE file and the GPL file for *
Expand Down Expand Up @@ -570,6 +570,7 @@ namespace letin
{
vm::Reference r(vm->gc()->new_object(OBJECT_TYPE_TUPLE | _ObjectTypeFlag, TemplateParamCount<_Ts...>::value(), context));
if(r.is_null()) return ERROR_OUT_OF_MEMORY;
for(size_t i = 0; i < r->length(); i++) r->set_elem(i, vm::Value());
tmp_r = r;
return set_elems_from(vm, context, value, tmp_r, setters, 0);
}
Expand Down

0 comments on commit 4b4fdd0

Please sign in to comment.