annotate tests/testincludes/object.di @ 650:aa6a0b7968f7

Added test case for bug #100 Removed dubious check for not emitting static private global in other modules without access. This should be handled properly somewhere else, it's causing unresolved global errors for stuff that should work (in MiniD)
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sun, 05 Oct 2008 17:28:15 +0200
parents f2b608012699
children 4100c49b753f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
274
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
1 // This is a modification of tango/object.di that includes
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
2 // aliases for string, wstring, dstring and Exception.
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
3 // This is because dstress expects phobos, which provides
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
4 // these aliases.
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
5
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
6 module object;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
7
371
f2b608012699 [svn r392] Make import of std.compat in object.di used for testing public.
ChristianK
parents: 368
diff changeset
8 public import std.compat;
274
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
9
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
10 alias typeof(int.sizeof) size_t;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
11 alias typeof(cast(void*)0 - cast(void*)0) ptrdiff_t;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
12
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
13 alias size_t hash_t;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
14
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
15 class Object
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
16 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
17 char[] toString();
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
18 hash_t toHash();
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
19 int opCmp(Object o);
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
20 int opEquals(Object o);
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
21
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
22 interface Monitor
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
23 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
24 void lock();
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
25 void unlock();
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
26 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
27 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
28
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
29 struct Interface
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
30 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
31 ClassInfo classinfo;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
32 void*[] vtbl;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
33 ptrdiff_t offset; // offset to Interface 'this' from Object 'this'
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
34 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
35
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
36 class ClassInfo : Object
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
37 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
38 byte[] init; // class static initializer
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
39 char[] name; // class name
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
40 void*[] vtbl; // virtual function pointer table
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
41 Interface[] interfaces;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
42 ClassInfo base;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
43 void* destructor;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
44 void(*classInvariant)(Object);
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
45 uint flags;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
46 // 1: // IUnknown
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
47 // 2: // has no possible pointers into GC memory
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
48 // 4: // has offTi[] member
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
49 // 8: // has constructors
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
50 void* deallocator;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
51 OffsetTypeInfo[] offTi;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
52 void* defaultConstructor;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
53
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
54 static ClassInfo find(char[] classname);
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
55 Object create();
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
56 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
57
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
58 struct OffsetTypeInfo
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
59 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
60 size_t offset;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
61 TypeInfo ti;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
62 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
63
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
64 class TypeInfo
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
65 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
66 hash_t getHash(void *p);
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
67 int equals(void *p1, void *p2);
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
68 int compare(void *p1, void *p2);
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
69 size_t tsize();
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
70 void swap(void *p1, void *p2);
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
71 TypeInfo next();
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
72 void[] init();
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
73 uint flags();
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
74 // 1: // has possible pointers into GC memory
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
75 OffsetTypeInfo[] offTi();
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
76 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
77
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
78 class TypeInfo_Typedef : TypeInfo
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
79 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
80 TypeInfo base;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
81 char[] name;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
82 void[] m_init;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
83 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
84
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
85 class TypeInfo_Enum : TypeInfo_Typedef
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
86 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
87 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
88
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
89 class TypeInfo_Pointer : TypeInfo
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
90 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
91 TypeInfo m_next;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
92 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
93
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
94 class TypeInfo_Array : TypeInfo
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
95 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
96 TypeInfo value;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
97 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
98
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
99 class TypeInfo_StaticArray : TypeInfo
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
100 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
101 TypeInfo value;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
102 size_t len;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
103 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
104
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
105 class TypeInfo_AssociativeArray : TypeInfo
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
106 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
107 TypeInfo value;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
108 TypeInfo key;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
109 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
110
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
111 class TypeInfo_Function : TypeInfo
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
112 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
113 TypeInfo next;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
114 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
115
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
116 class TypeInfo_Delegate : TypeInfo
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
117 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
118 TypeInfo next;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
119 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
120
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
121 class TypeInfo_Class : TypeInfo
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
122 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
123 ClassInfo info;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
124 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
125
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
126 class TypeInfo_Interface : TypeInfo
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
127 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
128 ClassInfo info;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
129 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
130
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
131 class TypeInfo_Struct : TypeInfo
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
132 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
133 char[] name;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
134 void[] m_init;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
135
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
136 uint function(void*) xtoHash;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
137 int function(void*,void*) xopEquals;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
138 int function(void*,void*) xopCmp;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
139 char[] function(void*) xtoString;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
140
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
141 uint m_flags;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
142 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
143
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
144 class TypeInfo_Tuple : TypeInfo
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
145 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
146 TypeInfo[] elements;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
147 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
148
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
149 class ModuleInfo
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
150 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
151 char[] name;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
152 ModuleInfo[] importedModules;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
153 ClassInfo[] localClasses;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
154 uint flags;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
155
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
156 void function() ctor;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
157 void function() dtor;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
158 void function() unitTest;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
159
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
160 void* xgetMembers;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
161 void function() ictor;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
162
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
163 static int opApply( int delegate( inout ModuleInfo ) );
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
164 }
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
165
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
166 class Exception : Object
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
167 {
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
168 char[] msg;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
169 char[] file;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
170 size_t line;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
171 Exception next;
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
172
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
173 this(char[] msg, Exception next = null);
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
174 this(char[] msg, char[] file, size_t line, Exception next = null);
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
175 char[] toString();
9f228c1e5311 [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
ChristianK
parents:
diff changeset
176 }