view dmd/MATCH.d @ 178:e3afd1303184

Many small bugs fixed Made all classes derive from TObject to detect memory leaks (functionality is disabled for now) Began work on overriding backend memory allocations (to avoid memory leaks)
author korDen
date Sun, 17 Oct 2010 07:42:00 +0400
parents 10317f0c89a5
children
line wrap: on
line source

module dmd.MATCH;

version (DMDV2) {
	enum MATCH
	{
		MATCHnomatch,	// no match
		MATCHconvert,	// match with conversions

		MATCHconst,		// match with conversion to const

		MATCHexact		// exact match
	}
} else {
	enum MATCH
	{
		MATCHnomatch,	// no match
		MATCHconvert,	// match with conversions

		MATCHexact		// exact match
	}
}

import dmd.EnumUtils;
mixin(BringToCurrentScope!(MATCH));