mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[CONUTILS] Make the headers C++ compatible.
This commit is contained in:
parent
f7520da3ce
commit
1e87e2fa9d
4 changed files with 28 additions and 0 deletions
|
@ -15,6 +15,10 @@
|
|||
#error The ConUtils library at the moment only supports compilation with _UNICODE defined!
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
// #include <wincon.h>
|
||||
|
||||
|
@ -71,4 +75,7 @@ ConResPaging(
|
|||
IN BOOL StartPaging,
|
||||
IN UINT uID);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __PAGER_H__ */
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
#error The ConUtils library at the moment only supports compilation with _UNICODE defined!
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
#if 0
|
||||
|
||||
|
@ -53,4 +57,7 @@ VOID
|
|||
ConClearScreen(IN PCON_SCREEN Screen);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __SCREEN_H__ */
|
||||
|
|
|
@ -25,6 +25,10 @@
|
|||
#error The ConUtils library at the moment only supports compilation with _UNICODE defined!
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Console I/O streams
|
||||
*/
|
||||
|
@ -264,4 +268,7 @@ VOID
|
|||
ConClearLine(IN PCON_STREAM Stream);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __STREAM_H__ */
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
#error The ConUtils library at the moment only supports compilation with _UNICODE defined!
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* General-purpose utility functions (wrappers around,
|
||||
* or reimplementations of, Win32 APIs).
|
||||
|
@ -50,4 +54,7 @@ IsConsoleHandle(IN HANDLE hHandle);
|
|||
// #include <wincon.h>
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __UTILS_H__ */
|
||||
|
|
Loading…
Reference in a new issue