pike.git / lib / modules / Remote.pmod / obj.pike

version» Context lines:

pike.git/lib/modules/Remote.pmod/obj.pike:1:    + #include "remote.h" +  + string id; + object con; + object ctx; +  + mapping calls = ([ ]); +  + mixed get_function(string f) + { +  object call = calls[f]; +  if (!call) +  call = calls[f] = Call(id, f, con, ctx, 0); +  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; + }   Newline at end of file added.