Ignore:
Timestamp:
Nov 2, 2011, 10:31:36 PM (14 years ago)
Author:
dmik
Message:

Make Handle Manager functions compiler neutral with extern "C".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/include/HandleManager.h

    r21301 r21781  
    6767 *****************************************************************************/
    6868
     69#ifdef __cplusplus
     70extern "C" {
     71#endif
    6972
    7073/*****************************************************************************
     
    120123 *****************************************************************************/
    121124
    122 // enable C linkage to avoid parameter mangling
    123 #ifdef __cplusplus__
    124 extern "C" {
    125 #endif
    126 
    127125HANDLE HMCreateEvent                (LPSECURITY_ATTRIBUTES      lpsa,
    128126                                     BOOL                       bManualReset,
     
    154152                                     LPCSTR                    lpName);
    155153
    156 BOOL   HMSetHandleInformation       (HANDLE hObject, 
     154BOOL   HMSetHandleInformation       (HANDLE hObject,
    157155                                     DWORD  dwMask,
    158156                                     DWORD  dwFlags);
     
    349347BOOL HMGetFileNameFromHandle(HANDLE hFile, LPSTR lpszFileName, DWORD cbFileName);
    350348
    351 #ifdef __cplusplus__
    352   }
     349#ifdef __cplusplus
     350} // extern "C"
    353351#endif
    354352
Note: See TracChangeset for help on using the changeset viewer.