Commit 7ea5d153 authored by rswindell's avatar rswindell
Browse files

Crated JSTYPE_UNDEF to document JS functions that returned undefined values

(different from void).
parent 877f368d
......@@ -355,7 +355,9 @@ static const char *js_type_str[] = {
"string",
"number",
"boolean",
"array", // JSTYPE_LIMIT
"array",
"alias",
"undefined"
};
JSBool
......
......@@ -923,8 +923,11 @@ extern "C" {
DWORD* clients;
} js_server_props_t;
#define JSTYPE_ARRAY JSTYPE_LIMIT
#define JSTYPE_ALIAS JSTYPE_LIMIT+1
enum {
JSTYPE_ARRAY=JSTYPE_LIMIT
,JSTYPE_ALIAS
,JSTYPE_UNDEF
};
#ifdef _DEBUG /* String compiled into debug build only, for JS documentation generation */
#define JSDOCSTR(s) s
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment