Mercurial > projects > dwt-mac
comparison dwt/internal/objc/runtime.d @ 10:30a762abda2a
Revert automatic changes from dwt/internal and dwt/dwthelper. Excluded dwt/internal/image and theme.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 28 Aug 2008 12:31:10 +0200 |
parents | e831403a80a9 |
children | 5b53d338c709 |
comparison
equal
deleted
inserted
replaced
9:e76aa0b07480 | 10:30a762abda2a |
---|---|
23 | 23 |
24 alias char* SEL; | 24 alias char* SEL; |
25 alias objc_class* Class; | 25 alias objc_class* Class; |
26 alias objc_object* id; | 26 alias objc_object* id; |
27 | 27 |
28 alias extern cast(C) id function(id, SEL, ...) IMP; | 28 alias extern (C) id function(id, SEL, ...) IMP; |
29 | 29 |
30 struct objc_object | 30 struct objc_object |
31 { | 31 { |
32 Class isa; | 32 Class isa; |
33 } | 33 } |
56 { | 56 { |
57 char* ivar_name; | 57 char* ivar_name; |
58 char* ivar_type; | 58 char* ivar_type; |
59 int ivar_offset; | 59 int ivar_offset; |
60 | 60 |
61 version cast(X86_64) | 61 version (X86_64) |
62 int space; | 62 int space; |
63 } | 63 } |
64 | 64 |
65 struct objc_ivar_list | 65 struct objc_ivar_list |
66 { | 66 { |
67 int ivar_count; | 67 int ivar_count; |
68 | 68 |
69 version cast(X86_64) | 69 version (X86_64) |
70 int space; | 70 int space; |
71 | 71 |
72 /* variable length structure */ | 72 /* variable length structure */ |
73 objc_ivar ivar_list[1]; | 73 objc_ivar ivar_list[1]; |
74 } | 74 } |
84 { | 84 { |
85 objc_method_list* obsolete; | 85 objc_method_list* obsolete; |
86 | 86 |
87 int method_count; | 87 int method_count; |
88 | 88 |
89 version cast(X86_64) | 89 version (X86_64) |
90 int space; | 90 int space; |
91 | 91 |
92 /* variable length structure */ | 92 /* variable length structure */ |
93 objc_method method_list[1]; | 93 objc_method method_list[1]; |
94 } | 94 } |
176 id objc_msgSendSuper (ARGS...)(objc_super* superr, string op, ARGS args) | 176 id objc_msgSendSuper (ARGS...)(objc_super* superr, string op, ARGS args) |
177 { | 177 { |
178 return dwt.internal.objc.bindings.objc_msgSendSuper(superr, op.ptr, args); | 178 return dwt.internal.objc.bindings.objc_msgSendSuper(superr, op.ptr, args); |
179 } | 179 } |
180 | 180 |
181 version cast(X86) | 181 version (X86) |
182 { | 182 { |
183 double objc_msgSend_fpret(ARGS...)(id self, string op, ARGS args) | 183 double objc_msgSend_fpret(ARGS...)(id self, string op, ARGS args) |
184 { | 184 { |
185 return dwt.internal.objc.bindings.objc_msgSend_fpret(self, op.ptr, args); | 185 return dwt.internal.objc.bindings.objc_msgSend_fpret(self, op.ptr, args); |
186 } | 186 } |