svn commit: samba r8821 - in branches/SAMBA_4_0:
source/build/pidl/Parse/Pidl/Samba source/scripting/ejs
source/scripting/libjs swat/esptest testprogs/ejs
tridge at samba.org
tridge at samba.org
Thu Jul 28 06:46:04 GMT 2005
Author: tridge
Date: 2005-07-28 06:46:03 +0000 (Thu, 28 Jul 2005)
New Revision: 8821
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8821
Log:
continue the trend to move to a more OO style of interface for our js
calls. This changes the generated RPC and IRPC calls to use the 'this'
object pointer instead of requiring the passing of the object on each
call. So typical usage is now:
var echo = echo_init();
var io = irpcObj();
status = echo.connect("ncacn_np:server");
assert(status.is_ok);
io.input.in_data = 7;
status = echo.AddOne(io);
assert(status.is_ok);
Modified:
branches/SAMBA_4_0/source/build/pidl/Parse/Pidl/Samba/EJS.pm
branches/SAMBA_4_0/source/scripting/ejs/smbcalls_rpc.c
branches/SAMBA_4_0/source/scripting/libjs/management.js
branches/SAMBA_4_0/source/scripting/libjs/samr.js
branches/SAMBA_4_0/swat/esptest/samr.esp
branches/SAMBA_4_0/testprogs/ejs/echo.js
branches/SAMBA_4_0/testprogs/ejs/samr.js
Changeset:
Sorry, the patch is too large (823 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8821
More information about the samba-cvs
mailing list