All pastes #345956 Raw Edit

Mine

public text v1 · immutable
·published 2007-02-08 23:25 UTC
rendered paste body
void functionAggr() {
 if (!("foo.bar" in rlib.reflection.functions))
  rlib.reflection.functions["foo.bar"] = &bar;
 if (!("foo.main" in rlib.reflection.functions))
  rlib.reflection.functions["foo.main"] = &main;
}


 if (!("foo.X" in rlib.reflection.classes))
  rc = rlib.reflection.classes["foo.X"] = &X;


 rlib.reflection.classAggrs ~= &classAggr;
 rlib.reflection.classPostAggrs ~= &classPostAggr;
 rlib.reflection.functionAggrs ~= &functionAggr;
 rlib.reflection.variableAggrs ~= &variableAggr;