-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:
parent
ed99807871
commit
41f1c6474b
14 changed files with 722 additions and 868 deletions
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue