Report a bug
If you spot a problem with this page, click here to create a Github issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

mir.type_info

Type Information

Type Information implementation compatible with BetterC mode.
Authors:
Ilya Yaroshenko
struct mir_type_info;
void function(void*) pure nothrow @nogc @safe destructor;
int size;

Note Negative values are used for classes to indicate that

export pure nothrow @nogc @safe void mir_type_info_init(ref mir_type_info ti, typeof(mir_type_info.init.destructor) destructor, int size);
Convinience function for integration with .NET.
ref @trusted immutable(mir_type_info) mir_get_type_info(T)();
ref immutable(mir_type_info) mir_get_type_info(uint sizeof)();