r8821: continue the trend to move to a more OO style of interface for our js
authorAndrew Tridgell <tridge@samba.org>
Thu, 28 Jul 2005 06:46:03 +0000 (06:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:30:08 +0000 (13:30 -0500)
commitf6d2892faab30e6f205a81a008168b07e521ab85
treea8564f854dc27aca17c3c6e81746a32c990ed3f1
parenta97f6670288097adc7a924a93bb1078062ceee32
r8821: 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);
(This used to be commit f7b49ecd0868c1f0fec75b371f132bbf357ad8c6)
source4/build/pidl/Parse/Pidl/Samba/EJS.pm
source4/scripting/ejs/smbcalls_rpc.c
source4/scripting/libjs/management.js
source4/scripting/libjs/samr.js
swat/esptest/samr.esp
testprogs/ejs/echo.js
testprogs/ejs/samr.js