1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-24 20:27:41 +00:00

More work on cleaning up string implementation.

This commit is contained in:
Calvin Rose
2017-03-22 18:35:54 -04:00
parent 841ee3696d
commit 6365a007b6
11 changed files with 278 additions and 279 deletions

View File

@@ -105,12 +105,12 @@ GstValue *gst_thread_expand_callable(Gst *vm, GstThread *thread, GstValue callee
meta = callee.data.object->meta;
if (meta == NULL) return NULL;
gst_thread_push(vm, thread, callee);
callee = gst_object_get_cstring(meta, "call");
callee = gst_object_get(meta, gst_load_cstring(vm, "call"));
continue;
case GST_USERDATA:
meta = ((GstUserdataHeader *)callee.data.pointer - 1)->meta;
gst_thread_push(vm, thread, callee);
callee = gst_object_get_cstring(meta, "call");
callee = gst_object_get(meta, gst_load_cstring(vm, "call"));
continue;
}
}