diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-07-12 13:56:30 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-07-12 13:56:30 -0700 |
commit | 43ae9d622a33ca6ede829524a99bdec9f6b2bfc6 (patch) | |
tree | cb45aaaaeb8754d5d14dd7ddf74c719264606901 | |
parent | 9d9211beb0c1b1d66232eefba74b11987d02bbcc (diff) | |
download | binaryen-43ae9d622a33ca6ede829524a99bdec9f6b2bfc6.tar.gz binaryen-43ae9d622a33ca6ede829524a99bdec9f6b2bfc6.tar.bz2 binaryen-43ae9d622a33ca6ede829524a99bdec9f6b2bfc6.zip |
comment
-rw-r--r-- | src/binaryen-c.h | 3 |
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); |