1 //<script type="text/javascript">
3 GI = imports.gi.GIRepository;
5 imports['Object.js'].load(Object);
8 console = imports['console.js'].console;
13 Introspect = imports['JSDOC/Introspect.js'].Introspect;
14 Base = imports['JSDOC/Introspect/Base.js'].Base;
19 Struct = Object.define(
21 Base.call(this, ns, name);
33 return; // already loaded..
37 this.genericBuildList('struct', 'field', props, 'properties');
42 if (GI.struct_info_get_size (this.getBI()) > 0 ) {
46 this.constructors.push({
52 memberOf : this.alias,
58 this.genericBuildList('struct', 'method', methods, 'methods');