summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/binaryen-c.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/binaryen-c.h b/src/binaryen-c.h
index d16f46d9a..ee56afdad 100644
--- a/src/binaryen-c.h
+++ b/src/binaryen-c.h
@@ -1051,6 +1051,8 @@ BINARYEN_API BinaryenExpressionRef BinaryenBrOn(BinaryenModuleRef module,
const char* name,
BinaryenExpressionRef ref,
BinaryenType castType);
+// Passing in null for |operands| (and 0 for |numOperands|) implies this is
+// struct.new_default.
BINARYEN_API BinaryenExpressionRef
BinaryenStructNew(BinaryenModuleRef module,
BinaryenExpressionRef* operands,