All pastes #338175 Raw Edit

Something

public text v1 · immutable
·published 2007-02-03 06:56 UTC
rendered paste body
module foo;

class X
{
        void test (int i)
        {
        }
}

void bar()
{
        auto x = new X;
}

void main()
{
        bar();
}



module reflected.foo;
import foo;
import rlib.reflection;
static this() {
 rlib.reflection.classAggrs ~= &classAggr;
 rlib.reflection.classPostAggrs ~= &classPostAggr;
 rlib.reflection.functionAggrs ~= &functionAggr;
 rlib.reflection.variableAggrs ~= &variableAggr;
}
 methods:[
 ]
};
 overloads:[
 ]
};
 ptr:null
void classAggr() {
 RefClass* rc;
}
void classPostAggr() {}
 overloads:[
 ]
};
 overloads:[
 ]
};
 vtblPos:-1,
};
 vtblPos:-1,
};
void functionAggr() {
}
void variableAggr() {}