summaryrefslogtreecommitdiff
path: root/source4/lib/ejs/var.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-12 02:31:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:20:07 -0500
commit36bb0ffd4c59b17c7f942d874e18865707d3c696 (patch)
tree1b722b4e9593f9443b036e50c18d4654bc37dc85 /source4/lib/ejs/var.h
parent70278929fc3065febf7e2d0b538a30cfc073f0fd (diff)
downloadsamba-36bb0ffd4c59b17c7f942d874e18865707d3c696.tar.gz
samba-36bb0ffd4c59b17c7f942d874e18865707d3c696.tar.bz2
samba-36bb0ffd4c59b17c7f942d874e18865707d3c696.zip
r8336: enable 64 bit integer support in ejs
(This used to be commit 9dd41e78e1d0e5e4007d5063fbcc335abef43718)
Diffstat (limited to 'source4/lib/ejs/var.h')
-rw-r--r--source4/lib/ejs/var.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/lib/ejs/var.h b/source4/lib/ejs/var.h
index 300a0795d8..8ed13a4995 100644
--- a/source4/lib/ejs/var.h
+++ b/source4/lib/ejs/var.h
@@ -446,14 +446,14 @@ extern int mprGetPropertyCount(MprVar *obj, int includeFlags);
* Conversion routines
*/
extern MprVar mprParseVar(char *str, MprType prefType);
-extern MprNum mprVarToNumber(MprVar *vp);
-extern int mprVarToInteger(MprVar *vp);
+extern MprNum mprVarToNumber(const MprVar *vp);
+extern int mprVarToInteger(const MprVar *vp);
#if BLD_FEATURE_INT64
-extern int64 mprVarToInteger64(MprVar *vp);
+extern int64 mprVarToInteger64(const MprVar *vp);
#endif
-extern bool mprVarToBool(MprVar *vp);
+extern bool mprVarToBool(const MprVar *vp);
#if BLD_FEATURE_FLOATING_POINT
-extern double mprVarToFloat(MprVar *vp);
+extern double mprVarToFloat(const MprVar *vp);
#endif
extern void mprVarToString(char** buf, int size, char *fmt, MprVar *vp);