git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3888 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2022-06-04 03:36:36 +00:00
parent 2992b7e955
commit cb9edaacd4

View File

@ -321,6 +321,7 @@ static JSValue _taskstub_setImports(JSContext* context, JSValueConst this_val, i
size_t size;
tf_serialize_store(tf_task_get(context), stub, &buffer, &size, argv[0]);
tf_packetstream_send(stub->_stream, kSetImports, (char*)buffer, size);
free(buffer);
return JS_UNDEFINED;
}
@ -331,6 +332,7 @@ static JSValue _taskstub_setRequires(JSContext* context, JSValueConst this_val,
size_t size;
tf_serialize_store(tf_task_get(context), stub, &buffer, &size, argv[0]);
tf_packetstream_send(stub->_stream, kSetRequires, (char*)buffer, size);
free(buffer);
return JS_UNDEFINED;
}