From 16a5d7c1755ece7f93db0eba42844152c916c11d Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sat, 11 Jun 2005 02:39:14 +0000 Subject: r7477: Add MPR_TYPE_PTR to ejs_typeof(). (This used to be commit 8574f64ca2bda864f472067ae594285b6f5dc957) --- source4/scripting/ejs/smbcalls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/scripting/ejs/smbcalls.c') 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; -- cgit