File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed
Process.Extensions.Tests.Client Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 88#include " tests\stdcallTests.h"
99#include " tests\thiscallTests.h"
1010
11- bool m_isRunning = true ;
11+ bool g_isRunning = true ;
1212
1313static void signalExit ()
1414{
15- m_isRunning = false ;
15+ g_isRunning = false ;
1616}
1717
1818static void runAllTests ()
@@ -25,7 +25,7 @@ static void runAllTests()
2525
2626static void linkAll ()
2727{
28- if (!m_isRunning )
28+ if (!g_isRunning )
2929 return ;
3030
3131 signalExit ();
@@ -35,7 +35,7 @@ static void linkAll()
3535
3636int main ()
3737{
38- while (m_isRunning )
38+ while (g_isRunning )
3939 {
4040 if (GetAsyncKeyState (VK_F1) & 0x8000 )
4141 runAllTests ();
Original file line number Diff line number Diff line change 11#include " testContext.h"
22
3- testContext m_cdeclTestStruct ;
3+ testContext g_cdeclTestStruct ;
44
55static bool __cdecl cdeclTestNoArguments ()
66{
@@ -21,9 +21,9 @@ static testContext __cdecl cdeclTestReturnStruct()
2121
2222static testContext* __cdecl cdeclTestReturnStructPtr ()
2323{
24- m_cdeclTestStruct = testContext (1 , 2 , 3 );
24+ g_cdeclTestStruct = testContext (1 , 2 , 3 );
2525
26- return &m_cdeclTestStruct ;
26+ return &g_cdeclTestStruct ;
2727}
2828
2929static int __cdecl cdeclTestStructAsArgument (testContext in_ctx)
Original file line number Diff line number Diff line change 11#include " testContext.h"
22
3- testContext m_fastcallTestStruct ;
3+ testContext g_fastcallTestStruct ;
44
55static bool __fastcall fastcallTestNoArguments ()
66{
@@ -21,9 +21,9 @@ static testContext __fastcall fastcallTestReturnStruct()
2121
2222static testContext* __fastcall fastcallTestReturnStructPtr ()
2323{
24- m_fastcallTestStruct = testContext (1 , 2 , 3 );
24+ g_fastcallTestStruct = testContext (1 , 2 , 3 );
2525
26- return &m_fastcallTestStruct ;
26+ return &g_fastcallTestStruct ;
2727}
2828
2929static int __fastcall fastcallTestStructAsArgument (testContext in_ctx)
Original file line number Diff line number Diff line change 11#include " testContext.h"
22
3- testContext m_stdcallTestStruct ;
3+ testContext g_stdcallTestStruct ;
44
55static bool __stdcall stdcallTestNoArguments ()
66{
@@ -21,9 +21,9 @@ static testContext __stdcall stdcallTestReturnStruct()
2121
2222static testContext* __stdcall stdcallTestReturnStructPtr ()
2323{
24- m_stdcallTestStruct = testContext (1 , 2 , 3 );
24+ g_stdcallTestStruct = testContext (1 , 2 , 3 );
2525
26- return &m_stdcallTestStruct ;
26+ return &g_stdcallTestStruct ;
2727}
2828
2929static int __stdcall stdcallTestStructAsArgument (testContext in_ctx)
You can’t perform that action at this time.
0 commit comments