a20af6 | 2000-09-26 | Fredrik Hübinette (Hubbe) | | #pike __VERSION__
|
aa9447 | 1997-09-16 | David Kågedal | |
#include "remote.h"
|
64f6bd | 2000-05-16 | Martin Stjernholm | | constant is_remote_obj = 1;
|
aa9447 | 1997-09-16 | David Kågedal | | string id;
object con;
object ctx;
mapping calls = ([ ]);
mixed get_function(string f)
{
object call = calls[f];
if (!call)
|
c65556 | 1997-09-23 | David Kågedal | | call = calls[f] = Call(id, f, con, ctx, 0);
|
aa9447 | 1997-09-16 | David Kågedal | | return call;
}
mixed `[] (string f)
{
return get_function(f);
}
mixed `-> (string f)
{
return get_function(f);
}
void create(string i, object cn, object ct)
{
id = i;
con = cn;
ctx = ct;
}
|