Ignore:
Timestamp:
Nov 3, 2011, 7:45:31 PM (14 years ago)
Author:
dmik
Message:

Extern "C".

Mostly, to fix the GCC bug with stdcall not suppressing C++ mangling.

File:
1 edited

Legend:

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

    r10383 r21790  
    2929#define PMKBDHK_HOOK_TERM   "_hookKill@0"
    3030
     31#ifdef __cplusplus
     32extern "C" {
     33#endif
    3134
    3235typedef BOOL  (* WIN32API PFN_HOOKINIT)(ULONG hab, char *lpszWindowClass);
     
    3639BOOL WIN32API hookKill(ULONG hab);
    3740
     41#ifdef __cplusplus
     42} // extern "C"
     43#endif
     44
    3845#endif  // __KBDHOOK_H
    3946
Note: See TracChangeset for help on using the changeset viewer.