summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/binaryen-c.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/binaryen-c.h b/src/binaryen-c.h
index 706bc4a1a..3ed5f167f 100644
--- a/src/binaryen-c.h
+++ b/src/binaryen-c.h
@@ -420,6 +420,9 @@ BinaryenExpressionRef RelooperRenderAndDispose(RelooperRef relooper, RelooperBlo
// Sets whether API tracing is on or off. It is off by default. When on, each call
// to an API method will print out C code equivalent to it, which is useful for
// auto-generating standalone testcases from projects using the API.
+// When calling this to turn on tracing, the prelude of the full program is printed,
+// and when calling it to turn it off, the ending of the program is printed, giving
+// you the full compilable testcase.
// TODO: compile-time option to enable/disable this feature entirely at build time.
void BinaryenSetAPITracing(int on);