Changeset 567
- Timestamp:
- 08/19/08 17:16:28 (3 months ago)
- Files:
-
- trunk/src/gobject/Type.d (modified) (1 diff)
- trunk/src/gtkc/gobjecttypes.d (modified) (2 diffs)
- trunk/wrap/APILookupGObject.txt (modified) (2 diffs)
- trunk/wrap/utils/GtkDClass.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/gobject/Type.d
r540 r567 39 39 * - g_type_ 40 40 * omit structs: 41 * - GTypeInterface 41 42 * omit prefixes: 42 43 * omit code: trunk/src/gtkc/gobjecttypes.d
r546 r567 208 208 alias GConnectFlags ConnectFlags; 209 209 210 211 //We need a corectly warped struct for gtk.TreeModel. 212 213 /** 214 * An opaque structure used as the base of all interface types. 215 */ 216 public struct GTypeInterface 217 { 218 GType gType; /* iface type */ 219 GType gInstanceType; 220 } 221 210 222 struct GValue 211 223 { … … 229 241 Data data2; 230 242 }; 231 232 /**233 * An opaque structure used as the base of all interface types.234 */235 public struct GTypeInterface236 {237 GType gType; /* iface type */238 GType gInstanceType;239 }240 241 243 242 244 /** trunk/wrap/APILookupGObject.txt
r529 r567 42 42 43 43 addStructs: start 44 45 //We need a corectly warped struct for gtk.TreeModel. 46 47 /** 48 * An opaque structure used as the base of all interface types. 49 */ 50 public struct GTypeInterface 51 { 52 GType gType; /* iface type */ 53 GType gInstanceType; 54 } 55 44 56 addStructs: end 45 57 … … 93 105 class: Type 94 106 prefix: g_type_ 107 nostruct: GTypeInterface 95 108 import: glib.Str 96 109 #structWrap: GType* Type trunk/wrap/utils/GtkDClass.d
r561 r567 1738 1738 getStructInternals(structDef, convParms); 1739 1739 collectedStructs ~= "\n}"; 1740 }1741 else if ( structName == "GTypeInterface")1742 {1743 //Special case to get custom treemodels working.1744 collectedStructs ~= "public struct GTypeInterface";1745 collectedStructs ~= "{";1746 collectedStructs ~= "\tGType gType; /* iface type */";1747 collectedStructs ~= "\tGType gInstanceType;";1748 collectedStructs ~= "}";1749 1740 } 1750 1741 else
