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

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

Location:
branches/gcc-kmk/include
Files:
2 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
  • branches/gcc-kmk/include/odinapi.h

    r21301 r21781  
    2828#endif
    2929
     30#ifdef __cplusplus
     31extern "C" {
     32#endif
     33
    3034/**
    3135 * Gets the type of an object.
     
    3741unsigned WIN32API HMQueryObjectType(HANDLE hObject);
    3842
     43#ifdef __cplusplus
     44} // extern "C"
     45#endif
     46
    3947/** @} */
    4048
Note: See TracChangeset for help on using the changeset viewer.