aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-07 12:06:25 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-07 12:06:25 -0700
commit6dff9374e3cb873968f9a58f80b625e7f256d6d9 (patch)
treee16baa75512c396e80e53dd8e83e624a99649427
parent50f60cb3b566dae6628a0b2cfeb8be8967938008 (diff)
comment on ccall array type being 8 bit
-rw-r--r--src/preamble.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js
index ed148d9e..c9e7e4eb 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -267,7 +267,7 @@ var globalScope = this;
//
// @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', 'string' or 'array' (use 'number' for any C pointer, and
-// 'array' for JavaScript arrays and typed arrays).
+// 'array' for JavaScript arrays and typed arrays; note that arrays are 8-bit).
// @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,
// except that 'array' is not possible (there is no way for us to know the length of the array)
// @param args An array of the arguments to the function, as native JS values (as in returnType)