diff options
Diffstat (limited to 'source4/web_server/ejs/ejs.h')
-rw-r--r-- | source4/web_server/ejs/ejs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/web_server/ejs/ejs.h b/source4/web_server/ejs/ejs.h index c1d087cf61..60aa93a408 100644 --- a/source4/web_server/ejs/ejs.h +++ b/source4/web_server/ejs/ejs.h @@ -99,9 +99,9 @@ extern MprVar *ejsGetGlobalObject(EjsId eid); /* * Function routines */ -extern void ejsDefineFunction(EjsId eid, char *functionName, char *args, +extern void ejsDefineFunction(EjsId eid, const char *functionName, char *args, char *body); -extern void ejsDefineCFunction(EjsId eid, char *functionName, +extern void ejsDefineCFunction(EjsId eid, const char *functionName, MprCFunction fn, void *thisPtr, int flags); extern void ejsDefineStringCFunction(EjsId eid, const char *functionName, MprStringCFunction fn, void *thisPtr, int flags); |