aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index ceda7ec8..a93d9183 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -68,6 +68,9 @@ CORRECT_ROUNDINGS = 1; // C rounds to 0 (-5.5 to -5, +5.5 to 5), while JS has no
// Math.floor is to negative, ceil to positive. With CORRECT_ROUNDINGS,
// we will do slow but correct C rounding operations.
+EXPORTED_FUNCTIONS = ['_main']; // Functions that are explicitly exported, so they are guaranteed to
+ // be accessible outside of the generated code.
+
SHOW_LABELS = 0; // Show labels in the generated code
// Compiler debugging options