diff options
author | Tim Potter <tpot@samba.org> | 2005-06-11 02:39:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:57 -0500 |
commit | 16a5d7c1755ece7f93db0eba42844152c916c11d (patch) | |
tree | 9c0e4df4a3d13f001b089512b6fc95056f54b644 /source4 | |
parent | b1b134084f96ba0765241091c47c6187f57f9867 (diff) | |
download | samba-16a5d7c1755ece7f93db0eba42844152c916c11d.tar.gz samba-16a5d7c1755ece7f93db0eba42844152c916c11d.tar.bz2 samba-16a5d7c1755ece7f93db0eba42844152c916c11d.zip |
r7477: Add MPR_TYPE_PTR to ejs_typeof().
(This used to be commit 8574f64ca2bda864f472067ae594285b6f5dc957)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/scripting/ejs/smbcalls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbcalls.c b/source4/scripting/ejs/smbcalls.c index 46fce4b98e..1b5737db29 100644 --- a/source4/scripting/ejs/smbcalls.c +++ b/source4/scripting/ejs/smbcalls.c @@ -44,7 +44,8 @@ static int ejs_typeof(MprVarHandle eid, int argc, struct MprVar **argv) { MPR_TYPE_OBJECT, "object" }, { MPR_TYPE_FUNCTION, "function" }, { MPR_TYPE_STRING, "string" }, - { MPR_TYPE_STRING_CFUNCTION, "function" } + { MPR_TYPE_STRING_CFUNCTION, "function" }, + { MPR_TYPE_PTR, "C pointer" } }; int i; const char *type = NULL; |