aboutsummaryrefslogtreecommitdiff
path: root/src/preamble.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-02-18 20:42:47 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-02-18 20:42:47 -0800
commit379953396230438ab975ca282c40b75f59017be9 (patch)
tree301b802a7df8c96e42c97512e65f07d063fe655e /src/preamble.js
parentef37c712f2325a60ebca5162a5cb4bef9ef3292c (diff)
ccall docs
Diffstat (limited to 'src/preamble.js')
-rw-r--r--src/preamble.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js
index 1d086a93..54e3b04c 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -376,7 +376,7 @@ var globalScope = this;
//
// -s EXPORTED_FUNCTIONS='["_func1","_func2"]'
//
-// @param ident The name of the C function
+// @param ident The name of the C function (note that C++ functions will be name-mangled - use extern "C")
// @param returnType The return type of the function, one of the JS types 'number' or 'string', or 'pointer' for any type of C pointer.
// @param argTypes An array of the types of arguments for the function (if there are no arguments, this can be ommitted). Types are as in returnType.
// @param args An array of the arguments to the function, as native JS values (except for 'pointer', which is a 'number').