Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/NSFileManager.d @ 123:63a09873578e
Fixed compile errors
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Thu, 15 Jan 2009 23:08:54 +0100 |
parents | e1c48e37e0f5 |
children |
comparison
equal
deleted
inserted
replaced
122:2e671fa40eec | 123:63a09873578e |
---|---|
50 public NSDirectoryEnumerator enumeratorAtPath(NSString path) { | 50 public NSDirectoryEnumerator enumeratorAtPath(NSString path) { |
51 objc.id result = OS.objc_msgSend(this.id, OS.sel_enumeratorAtPath_, path !is null ? path.id : null); | 51 objc.id result = OS.objc_msgSend(this.id, OS.sel_enumeratorAtPath_, path !is null ? path.id : null); |
52 return result !is null ? new NSDirectoryEnumerator(result) : null; | 52 return result !is null ? new NSDirectoryEnumerator(result) : null; |
53 } | 53 } |
54 | 54 |
55 public bool removeItemAtPath(NSString path, objc.id* error) { | 55 public bool removeItemAtPath(NSString path, /*NSError** */ objc.id** error) { |
56 return OS.objc_msgSend_bool(this.id, OS.sel_removeItemAtPath_error_, path !is null ? path.id : null, error !is null ? error : null); | 56 return OS.objc_msgSend_bool(this.id, OS.sel_removeItemAtPath_error_, path !is null ? path.id : null, error); |
57 } | 57 } |
58 | 58 |
59 } | 59 } |