aboutsummaryrefslogtreecommitdiff
path: root/src/jsifier.js
diff options
context:
space:
mode:
authorJez Ng <me@jezng.com>2013-07-15 14:36:28 -0700
committerJez Ng <me@jezng.com>2013-07-15 14:36:28 -0700
commit61c31f69359132e7630a9c4c2c3d25a6ed742247 (patch)
treedf58344e2bcd8de8aeea48d8b95e85903316b9b1 /src/jsifier.js
parent392b7183a978fd1d62c29fc027973943fc440510 (diff)
Use DLOPEN_SUPPORT instead of LINKABLE to enable self-dlopen.
Also address style feedback.
Diffstat (limited to 'src/jsifier.js')
-rw-r--r--src/jsifier.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index 6faea2b4..38581ce4 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -604,7 +604,7 @@ function JSify(data, functionsOnly, givenFunctions) {
var associatedSourceFile = "NO_SOURCE";
}
- if (LINKABLE) Functions.getIndex(func.ident);
+ if (DLOPEN_SUPPORT) Functions.getIndex(func.ident);
func.JS += 'function ' + func.ident + '(' + paramIdents.join(', ') + ') {\n';