summaryrefslogtreecommitdiff
path: root/test/example/c-api-kitchen-sink.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/c-api-kitchen-sink.txt')
-rw-r--r--test/example/c-api-kitchen-sink.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt
index 5dc884d2b..86533339a 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -1403,7 +1403,7 @@ int main() {
BinaryenFunctionGetName(functions[0]);
{
const char* funcNames[] = { "kitchen()sinker" };
- BinaryenSetFunctionTable(the_module, funcNames, 1);
+ BinaryenSetFunctionTable(the_module, 1, 1, funcNames, 1);
}
expressions[254] = BinaryenConst(the_module, BinaryenLiteralInt32(10));
{