1 //<script type="text/javascript">
3 GI = imports.gi.GIRepository;
7 XObject = imports.XObject.XObject;
8 console = imports.console.console;
10 Base = imports.Base.Base;
19 Union = XObject.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');