Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/NSRange.d @ 45:d8635bb48c7c
Merge with SWT 3.5
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 01 Dec 2008 17:07:00 +0100 |
parents | 642f460a0908 |
children | 6309d49b16b7 |
comparison
equal
deleted
inserted
replaced
44:ca5e494f2bbf | 45:d8635bb48c7c |
---|---|
7 * | 7 * |
8 * Contributors: | 8 * Contributors: |
9 * IBM Corporation - initial API and implementation | 9 * IBM Corporation - initial API and implementation |
10 * | 10 * |
11 * Port to the D programming language: | 11 * Port to the D programming language: |
12 * Jacob Carlborg <jacob.carlborg@gmail.com> | 12 * Jacob Carlborg <doob@me.com> |
13 *******************************************************************************/ | 13 *******************************************************************************/ |
14 module dwt.internal.cocoa.NSRange; | 14 module dwt.internal.cocoa.NSRange; |
15 | 15 |
16 import dwt.dwthelper.utils; | |
16 import dwt.internal.cocoa.NSInteger; | 17 import dwt.internal.cocoa.NSInteger; |
17 | 18 |
18 extern (C): | |
19 | |
20 alias NSRange* NSRangePointer; | 19 alias NSRange* NSRangePointer; |
21 | 20 |
22 struct NSRange { | 21 public struct NSRange { |
23 NSUInteger location; | 22 public NSUInteger location; |
24 NSUInteger length; | 23 public NSUInteger length; |
25 } | 24 } |