Mercurial > projects > dstep
comparison dstep/objc/bridge/Bridge.d @ 20:6255d355d752
Made it compile with dmd 1.056
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 03 Feb 2010 18:28:01 +0100 |
parents | ae08a08f44d3 |
children | b9de51448c6b |
comparison
equal
deleted
inserted
replaced
19:ae08a08f44d3 | 20:6255d355d752 |
---|---|
200 */ | 200 */ |
201 template IBOutlet (alias field) | 201 template IBOutlet (alias field) |
202 { | 202 { |
203 static assert (is(typeof(field) : Object), dstep.objc.bridge.Bridge.buildIBOutletErrorMessage!(field)); | 203 static assert (is(typeof(field) : Object), dstep.objc.bridge.Bridge.buildIBOutletErrorMessage!(field)); |
204 | 204 |
205 /// Sets the field | |
205 void __setMethod (typeof(field) value) | 206 void __setMethod (typeof(field) value) |
206 { | 207 { |
207 field = value; | 208 field = value; |
208 } | 209 } |
209 | 210 |