Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/NSDecimalNumberHandler.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 |
---|---|
46 return result !is null ? new id(result) : null; | 46 return result !is null ? new id(result) : null; |
47 } | 47 } |
48 | 48 |
49 public id initWithRoundingMode (objc.id roundingMode, short scale, bool exact, bool overflow, bool underflow, bool divideByZero) | 49 public id initWithRoundingMode (objc.id roundingMode, short scale, bool exact, bool overflow, bool underflow, bool divideByZero) |
50 { | 50 { |
51 objc.id result = OS.objc_msgSend(this.id, | 51 objc.id result = OS.objc_msgSend(this.id_, |
52 OS.sel_initWithRoundingMode_1scale_1raiseOnExactness_1raiseOnOverflow_1raiseOnUnderflow_1raiseOnDivideByZero_1, roundingMode, scale, | 52 OS.sel_initWithRoundingMode_1scale_1raiseOnExactness_1raiseOnOverflow_1raiseOnUnderflow_1raiseOnDivideByZero_1, roundingMode, scale, |
53 exact, overflow, underflow, divideByZero); | 53 exact, overflow, underflow, divideByZero); |
54 return result !is null ? new id(result) : null; | 54 return result !is null ? new id(result) : null; |
55 } | 55 } |
56 | 56 |