Classes | |
class | CArray< T > |
General array. Defined as const(T)[] under D 2.x. More... | |
class | CPtr< T > |
General pointer. Defined as const(T)* under D 2.x. More... | |
Typedefs | |
typedef bool | intBool |
Data type returned by certain Phobos functions with boolean return semantics. | |
typedef char[] | cstring |
Character array. Defined as const(char)[] under D 2.x. | |
Functions | |
mixin ("alias const(char)[] cstring;") | |
Variables | |
const string | RETURN_THIS = "return this;" |
Mixin to return the 'this' object from a struct member function. |
The smjg.libs.d12comp module contains definitions to facilitate compatibility of libraries between D versions 1.x and 2.x.
typedef char [] smjg::libs::d12comp.cstring |
Character array. Defined as const(char)[] under D 2.x.
typedef int smjg::libs::d12comp::intBool |
Data type returned by certain Phobos functions with boolean return semantics.
Some functions, such as Object.opEquals, return int in D 1.x, but the more sensible bool in D 2.x. This alias is used to override such functions.
smjg.libs.d12comp.mixin | ( | "alias const(char) []cstring;" | ) |
const string smjg::libs::d12comp::RETURN_THIS = "return this;" |
Mixin to return the 'this' object from a struct member function.