diff options
author | Tim Potter <tpot@samba.org> | 2005-06-10 07:58:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:54 -0500 |
commit | a9258487043eb4862769ee8da02b3810db925295 (patch) | |
tree | 73c127469f8b162377ce695624b77b57b133d610 /source4/lib/ejs/ejsParser.c | |
parent | 302b4db004c51700dac7714d88ca27cdafe9612f (diff) | |
download | samba-a9258487043eb4862769ee8da02b3810db925295.tar.gz samba-a9258487043eb4862769ee8da02b3810db925295.tar.xz samba-a9258487043eb4862769ee8da02b3810db925295.zip |
r7456: Add a simple type that represents a pointer. The ejs people may ask us
to change this later but that will be pretty easy.
We can use this type to pass around pointers to handles in C. Talloc
allows us to do type checking too.
(This used to be commit b95c0bc9b0a18aeaa89f704e37669f01df2c2ad0)
Diffstat (limited to 'source4/lib/ejs/ejsParser.c')
-rw-r--r-- | source4/lib/ejs/ejsParser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ejs/ejsParser.c b/source4/lib/ejs/ejsParser.c index 17fe0ce98a..8d0aa7ba2c 100644 --- a/source4/lib/ejs/ejsParser.c +++ b/source4/lib/ejs/ejsParser.c @@ -1659,6 +1659,7 @@ static int evalExpr(Ejs *ep, MprVar *lhs, int rel, MprVar *rhs) case MPR_TYPE_CFUNCTION: case MPR_TYPE_FUNCTION: case MPR_TYPE_OBJECT: + case MPR_TYPE_PTR: mprCopyVarValue(&ep->result, mprCreateBoolVar(0), 0); return 0; |