Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/NSFileManager.d @ 121:e1c48e37e0f5
Ported dwt.program.Program
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 31 Dec 2008 16:50:37 +0100 |
parents | d8635bb48c7c |
children | 63a09873578e |
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSFileManager.d Wed Dec 31 16:16:40 2008 +0100 +++ b/dwt/internal/cocoa/NSFileManager.d Wed Dec 31 16:50:37 2008 +0100 @@ -52,8 +52,8 @@ return result !is null ? new NSDirectoryEnumerator(result) : null; } -public bool removeItemAtPath(NSString path, ref NSError error) { - return OS.objc_msgSend_bool(this.id, OS.sel_removeItemAtPath_error_, path !is null ? path.id : null, error !is null ? &error.id : null); +public bool removeItemAtPath(NSString path, objc.id* error) { + return OS.objc_msgSend_bool(this.id, OS.sel_removeItemAtPath_error_, path !is null ? path.id : null, error !is null ? error : null); } }