From 0f8430da631fe3292d5ac50354a9a94fbef37308 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 5 Jul 2016 10:39:23 -0700 Subject: quote names in s-format that need it --- test/example/c-api-kitchen-sink.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/example/c-api-kitchen-sink.c') diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c index fa245c102..444ed9384 100644 --- a/test/example/c-api-kitchen-sink.c +++ b/test/example/c-api-kitchen-sink.c @@ -166,7 +166,7 @@ void test_core() { BinaryenSwitch(module, switchValueNames, 1, "the-value", makeInt32(module, 0), makeInt32(module, 1)), BinaryenSwitch(module, switchBodyNames, 1, "the-nothing", makeInt32(module, 2), NULL), BinaryenUnary(module, BinaryenEqZInt32(), // check the output type of the call node - BinaryenCall(module, "kitchen-sinker", callOperands4, 4, BinaryenInt32()) + BinaryenCall(module, "kitchen()sinker", callOperands4, 4, BinaryenInt32()) ), BinaryenUnary(module, BinaryenEqZInt32(), // check the output type of the call node BinaryenUnary(module, @@ -202,7 +202,7 @@ void test_core() { // Create the function BinaryenType localTypes[] = { BinaryenInt32() }; - BinaryenFunctionRef sinker = BinaryenAddFunction(module, "kitchen-sinker", iiIfF, localTypes, 1, body); + BinaryenFunctionRef sinker = BinaryenAddFunction(module, "kitchen()sinker", iiIfF, localTypes, 1, body); // Imports @@ -212,7 +212,7 @@ void test_core() { // Exports - BinaryenAddExport(module, "kitchen-sinker", "kitchen_sinker"); + BinaryenAddExport(module, "kitchen()sinker", "kitchen_sinker"); // Function table. One per module BinaryenFunctionRef functions[] = { sinker }; -- cgit v1.2.3