daily update on 20240226 by nitload youmu

This commit is contained in:
YoumuLiu
2024-02-27 00:43:29 +08:00
parent a2241a5a58
commit 06e39f7a31
543 changed files with 230273 additions and 21423 deletions
+5 -21
View File
@@ -1,13 +1,10 @@
// dllmain.cpp : 定义 DLL 应用程序的入口点。
#ifdef _WIN32
#include "./include/ssgc_framework.h"
#include "ssgc_framework.h"
#endif // __
#include "./include/StgSharpC.h"
#include "StgSharpC.h"
#ifdef _WIN32
BOOL APIENTRY DllMain(HMODULE hModule,
@@ -18,10 +15,7 @@ BOOL APIENTRY DllMain(HMODULE hModule,
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
do
{
defaultVecPtr = _aligned_malloc(sizeof(__m128), 16);
} while (defaultVecPtr == NULL);
return 1;
case DLL_THREAD_ATTACH:
@@ -33,23 +27,13 @@ BOOL APIENTRY DllMain(HMODULE hModule,
case DLL_PROCESS_DETACH:
return 1;
break;
}
return TRUE;
}
#else
#else
attribute((constructor)) void DllMain()
{
}
#endif // _WIN32
__m128* defaultVecPtr = NULL;
#endif // _WIN32