More tests:

-removed some unused code
-fixed bug with struct destructors (Mallocator called __dtor instead of __xdtor)
-added unittests for events
-addded _d_eh_personality null implementation as LDC betterC bug workaround
This commit is contained in:
Mergul 2020-04-18 19:16:45 +02:00
parent d0b7138f9f
commit cb9eaad123
5 changed files with 160 additions and 19 deletions

View file

@ -3138,12 +3138,13 @@ export struct EntityManager
struct EntitiesBlock
{
///return distance (in bytes) from begin of block to data
export uint dataDelta() nothrow @nogc pure
///TODO: probably to remove. It's used by old code if I remeber correctly.
/*export uint dataDelta() nothrow @nogc pure
{
ushort dif = EntitiesBlock.sizeof;
alignNum(dif, type_info.alignment);
return dif;
}
}*/
///return pointer to first element in block
export void* dataBegin() nothrow @nogc pure