console = imports.console.console;
-
-//xnew = imports['xnew.js'].xnew;
-
-
-//Introspect = {};
-
-//xnew.load(Introspect,'JSDOC/Introspect');
-
-
-
-Introspect = {
+NameSpace = {
references : { },
ret.interfaces.push(GI.base_info_get_name(info));
continue;
case GI.IInfoType.FUNCTION:
- new Introspect.Method(info, ret, 'functions', []);
+ new imports.Method.Method(info, ret, 'functions', []);
continue;
case GI.IInfoType.CALLBACK:
ret.unions.push(GI.base_info_get_name(info));
continue;
case GI.IInfoType.CONSTANT:
- new Introspect.Constant(info, ret, 'values', []);
+ new imports.Constant.Constant(info, ret, 'values', []);
continue;
registry : { },
factory : function(type, ns, name) {
if (typeof (this.registry[ns +'.' + name]) == 'undefined') {
- this.registry[ns +'.' + name] = new Introspect[type](ns,name);
+ this.registry[ns +'.' + name] = new imports[type][type](ns,name);
this.registry[ns +'.' + name].load();
}
return this.registry[ns +'.' + name];
}
-
-
});