comparison dwt/internal/cocoa/NSEnumerator.d @ 1:8b48be5454ce

The internal cocoa classes compile now
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Tue, 19 Aug 2008 17:35:17 +0200
parents 380af2bdd8e5
children f565d3a95c0a
comparison
equal deleted inserted replaced
0:380af2bdd8e5 1:8b48be5454ce
40 super(id); 40 super(id);
41 } 41 }
42 42
43 public NSArray allObjects () 43 public NSArray allObjects ()
44 { 44 {
45 objc.id result = OS.objc_msgSend(this.id, OS.sel_allObjects); 45 objc.id result = OS.objc_msgSend(this.id_, OS.sel_allObjects);
46 return result !is null ? new NSArray(result) : null; 46 return result !is null ? new NSArray(result) : null;
47 } 47 }
48 48
49 public id nextObject () 49 public id nextObject ()
50 { 50 {
51 objc.id result = OS.objc_msgSend(this.id, OS.sel_nextObject); 51 objc.id result = OS.objc_msgSend(this.id_, OS.sel_nextObject);
52 return result !is null ? new id(result) : null; 52 return result !is null ? new id(result) : null;
53 } 53 }
54 54
55 } 55 }