- Timestamp:
- Nov 3, 2011, 7:45:31 PM (14 years ago)
- Location:
- branches/gcc-kmk
- Files:
-
- 15 edited
-
include/kbdhook.h (modified) (2 diffs)
-
include/odinwrap.h (modified) (3 diffs)
-
include/os2newapi.h (modified) (3 diffs)
-
include/win/global.h (modified) (2 diffs)
-
include/win/virtual.h (modified) (2 diffs)
-
src/kernel32/dbglog.cpp (modified) (1 diff)
-
src/kernel32/environ.cpp (modified) (2 diffs)
-
src/kernel32/heap.cpp (modified) (2 diffs)
-
src/kernel32/hmdevio.cpp (modified) (2 diffs)
-
src/kernel32/kernel32.def (modified) (3 diffs)
-
src/kernel32/kernel32dbg.def (modified) (3 diffs)
-
src/kernel32/oslibdos.cpp (modified) (2 diffs)
-
src/kernel32/thread.cpp (modified) (5 diffs)
-
src/kernel32/winexebase.cpp (modified) (1 diff)
-
src/kernel32/winexepeldr.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/include/kbdhook.h
r10383 r21790 29 29 #define PMKBDHK_HOOK_TERM "_hookKill@0" 30 30 31 #ifdef __cplusplus 32 extern "C" { 33 #endif 31 34 32 35 typedef BOOL (* WIN32API PFN_HOOKINIT)(ULONG hab, char *lpszWindowClass); … … 36 39 BOOL WIN32API hookKill(ULONG hab); 37 40 41 #ifdef __cplusplus 42 } // extern "C" 43 #endif 44 38 45 #endif // __KBDHOOK_H 39 46 -
branches/gcc-kmk/include/odinwrap.h
r7357 r21790 60 60 #include <malloc.h> 61 61 #include <odin.h> 62 63 //#ifdef __cplusplus 64 extern "C" { 65 //#endif 62 66 63 67 // --------------------------------------------------------------------------- … … 75 79 extern char* WIN32API dbg_GetLastCallerName(); 76 80 77 81 //#ifdef __cplusplus 82 } // extern "C" 83 //#endif 78 84 79 85 // --------------------------------------------------------------------------- … … 1345 1351 #define ODINPROCEDURE14(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12,t13,a13,t14,a14) \ 1346 1352 void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12,t13 a13,t14 a14) \ 1347 1353 1348 1354 #define ODINFUNCTIONNODBG0 ODINFUNCTION0 1349 1355 #define ODINFUNCTIONNODBG1 ODINFUNCTION1 -
branches/gcc-kmk/include/os2newapi.h
r21380 r21790 7 7 #ifndef __OS2NEWAPI_H__ 8 8 #define __OS2NEWAPI_H__ 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 9 13 10 14 #ifdef INCL_WIN … … 42 46 USHORT APIENTRY16 DosSizeSeg(SEL sel, PULONG pcbSize); 43 47 48 #ifndef __EMX__ 44 49 #define DosSelToFlat Dos32SelToFlat 50 #endif 45 51 ULONG _Optlink DosSelToFlat(ULONG seladdr); 46 52 53 #ifndef __EMX__ 47 54 #define DosFlatToSel Dos32FlatToSel 55 #endif 48 56 ULONG _Optlink DosFlatToSel(ULONG lin); 49 57 … … 67 75 ULONG ulSubFunction); 68 76 77 #ifdef __cplusplus 78 } // extern "C" 79 #endif 80 69 81 #endif //__OS2SEL_H__ -
branches/gcc-kmk/include/win/global.h
r4 r21790 18 18 int shmid; 19 19 } SHMDATA; 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 20 24 21 25 /* memory/global.c */ … … 45 49 extern BOOL ATOM_Init( WORD globalTableSel ); 46 50 51 #ifdef __cplusplus 52 } // extern "C" 53 #endif 54 47 55 #endif /* __WINE_GLOBAL_H */ -
branches/gcc-kmk/include/win/virtual.h
r7566 r21790 8 8 #define __VIRTUAL_H 9 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 10 14 HANDLE WINAPI VIRTUAL_MapFileA( LPCSTR name , LPVOID *lpMapping, BOOL fReadIntoMemory = FALSE); 11 15 HANDLE WINAPI VIRTUAL_MapFileW( LPCWSTR name , LPVOID *lpMapping, BOOL fReadIntoMemory = FALSE); … … 14 18 DWORD fdwProtect, LPSTR name); 15 19 20 #ifdef __cplusplus 21 } // extern "C" 22 #endif 23 16 24 #endif /* __VIRTUAL_H */ -
branches/gcc-kmk/src/kernel32/dbglog.cpp
r21722 r21790 795 795 "int 3" 796 796 #endif 797 extern "C" 797 798 void WIN32API DebugBreak() 798 799 { -
branches/gcc-kmk/src/kernel32/environ.cpp
r21730 r21790 85 85 } 86 86 } 87 88 extern "C" { 89 87 90 //****************************************************************************** 88 91 //****************************************************************************** … … 330 333 return ret; 331 334 } 335 336 } // extern "C" 337 332 338 //****************************************************************************** 333 339 // Create a new process environment block based on input from the application -
branches/gcc-kmk/src/kernel32/heap.cpp
r21755 r21790 264 264 265 265 #pragma pack() 266 267 extern "C" { 266 268 267 269 /*********************************************************************** … … 998 1000 } 999 1001 1000 extern "C" {1001 1002 1002 /************************************************************************* 1003 1003 * EncodePointer -
branches/gcc-kmk/src/kernel32/hmdevio.cpp
r21720 r21790 464 464 lpOverlapped, lpcbTransfer, fWait, (LPVOID)pHMHandleData->dwUserData); 465 465 } 466 467 extern "C" { 468 466 469 //****************************************************************************** 467 470 //****************************************************************************** … … 507 510 //****************************************************************************** 508 511 //****************************************************************************** 512 513 } // extern "C" 514 -
branches/gcc-kmk/src/kernel32/kernel32.def
r21781 r21790 1173 1173 1174 1174 ;code memory allocation 1175 codeHeap @1272 NONAME1175 codeHeap = _codeHeap @1272 NONAME 1176 1176 1177 1177 ;fast file API's … … 1188 1188 InitializeKernel32 @1302 NONAME 1189 1189 1190 IsExeStarted __Fv@2001 NONAME1190 IsExeStarted = _IsExeStarted @2001 NONAME 1191 1191 CheckCurFS @2002 NONAME 1192 1192 _SupportsCPUID @2003 NONAME … … 1222 1222 OSLibDosDevIOCtl @2026 NONAME 1223 1223 1224 OSLibImSetMsgQueueProperty @2029 NONAME1225 1226 fIsDBCSEnv @2103 NONAME1224 OSLibImSetMsgQueueProperty = _OSLibImSetMsgQueueProperty @2029 NONAME 1225 1226 fIsDBCSEnv = _fIsDBCSEnv @2103 NONAME 1227 1227 1228 1228 vsnprintfW @2030 NONAME -
branches/gcc-kmk/src/kernel32/kernel32dbg.def
r21781 r21790 1174 1174 1175 1175 ;code memory allocation 1176 codeHeap @1272 NONAME1176 codeHeap = _codeHeap @1272 NONAME 1177 1177 1178 1178 ;fast file API's … … 1189 1189 InitializeKernel32 @1302 NONAME 1190 1190 1191 IsExeStarted __Fv@2001 NONAME1191 IsExeStarted = _IsExeStarted @2001 NONAME 1192 1192 CheckCurFS @2002 NONAME 1193 1193 _SupportsCPUID @2003 NONAME … … 1223 1223 OSLibDosDevIOCtl @2026 NONAME 1224 1224 1225 OSLibImSetMsgQueueProperty @2029 NONAME1226 1227 fIsDBCSEnv @2103 NONAME1225 OSLibImSetMsgQueueProperty = _OSLibImSetMsgQueueProperty @2029 NONAME 1226 1227 fIsDBCSEnv = _fIsDBCSEnv @2103 NONAME 1228 1228 _hookInit@4 @2104 NONAME 1229 1229 -
branches/gcc-kmk/src/kernel32/oslibdos.cpp
r21732 r21790 88 88 static CDDRVLTR cdDrvLtr = {0xffff, 0xffff}; 89 89 90 extern "C" { 90 91 91 92 /******************************************************************************* … … 3589 3590 } 3590 3591 3592 } // extern "C" 3593 -
branches/gcc-kmk/src/kernel32/thread.cpp
r21716 r21790 61 61 //****************************************************************************** 62 62 //****************************************************************************** 63 extern "C" 63 64 HANDLE WIN32API CreateThread(LPSECURITY_ATTRIBUTES lpsa, 64 65 DWORD cbStack, … … 115 116 return pHandle->hmHandleData.hWin32Handle; 116 117 } 118 119 extern "C" { 120 117 121 /***************************************************************************** 118 122 * Name : HMGetThreadPriority … … 370 374 return (lpResult); /* deliver return code */ 371 375 } 376 377 } // extern "C" 378 372 379 /***************************************************************************** 373 380 * Name : HMSetThreadTerminated … … 397 404 return (lpResult); /* deliver return code */ 398 405 } 406 407 extern "C" { 408 399 409 //****************************************************************************** 400 410 //****************************************************************************** … … 654 664 return FALSE; 655 665 } 666 667 } // extern "C" 668 656 669 //****************************************************************************** 657 670 //****************************************************************************** -
branches/gcc-kmk/src/kernel32/winexebase.cpp
r21731 r21790 44 44 //****************************************************************************** 45 45 //****************************************************************************** 46 BOOL IsExeStarted()46 extern "C" BOOL IsExeStarted() 47 47 { 48 48 return fExeStarted; -
branches/gcc-kmk/src/kernel32/winexepeldr.cpp
r21737 r21790 59 59 // (not other options available at this time) 60 60 //****************************************************************************** 61 extern "C" 61 62 DWORD WIN32API CreateWin32PeLdrExe(char *szFileName, char *szCmdLine, 62 63 char *peoptions,
Note:
See TracChangeset
for help on using the changeset viewer.
