1 //<script type="text/javascript">
3 GI = imports.gi.GIRepository;
5 imports['Object.js'].load(Object);
8 console = imports['console.js'].console;
12 Introspect = imports['JSDOC/Introspect.js'].Introspect;
13 Base = imports['JSDOC/Introspect/Base.js'].Base;
19 Union = Object.define(
21 Base.call(this, ns, name);
31 return; // already loaded..
35 this.genericBuildList('union', 'field', props, 'properties');
37 if (GI.union_info_get_size (this.getBI()) > 0 ) {
39 this.constructors.push({
45 memberOf : this.alias,
51 this.genericBuildList('union', 'method', methods, 'methods');