JavaScriptCore: Bug fix for SWIGJSC_AppendOutput. This function requires a return value. I think it should be arr, but somebody should scrutinize this.
This commit is contained in:
parent
fcb4833660
commit
486e903de1
1 changed files with 1 additions and 0 deletions
|
|
@ -295,4 +295,5 @@ JSValueRef SWIGJSC_AppendOutput(JSContextRef context, JSValueRef value, JSValueR
|
||||||
|
|
||||||
length = SWIGJSC_ArrayLength(context, arr);
|
length = SWIGJSC_ArrayLength(context, arr);
|
||||||
JSObjectSetPropertyAtIndex(context, arr, length, obj, 0);
|
JSObjectSetPropertyAtIndex(context, arr, length, obj, 0);
|
||||||
|
return arr;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue