-fully working betterC for windows

*replaced array[..] = array[ .. ] sclice copy with mempcy
 *added own std library (allocator, alloca, Mutex)
 *changed tamplates for collecting components for systems
-fixed issue with multiple optional components registering for system
This commit is contained in:
Mergul 2019-10-10 20:56:44 +02:00
parent ed99807871
commit 41f1c6474b
14 changed files with 722 additions and 868 deletions

View file

@ -7,7 +7,7 @@ import core.sys.windows.windows;
extern(Windows) bool DllMain(void* hInstance, uint ulReason, void*)
{
switch (ulReason)
/*switch (ulReason)
{
default: assert(0);
case DLL_PROCESS_ATTACH:
@ -26,5 +26,6 @@ extern(Windows) bool DllMain(void* hInstance, uint ulReason, void*)
dll_thread_detach( true, true );
break;
}
return true;
return true;*/
return 0;
}