aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_console.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin_console.h')
-rw-r--r--src/gwin/gwin_console.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/gwin/gwin_console.h b/src/gwin/gwin_console.h
index fcfca35e..208ab16b 100644
--- a/src/gwin/gwin_console.h
+++ b/src/gwin/gwin_console.h
@@ -54,10 +54,6 @@ typedef struct GConsoleObject {
} GConsoleObject;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* @brief Create a console window.
* @details A console window allows text to be written.
@@ -102,15 +98,15 @@ GHandle gwinGConsoleCreate(GDisplay *g, GConsoleObject *gc, const GWindowInit *p
* @pre GWIN_CONSOLE_USE_HISTORY must be set to GFXON in your gfxconf.h
*
* @param[in] gh The window handle (must be a console window)
- * @param[in] onoff If TRUE a buffer is allocated to maintain console text
- * when the console is obscured or invisible. If FALSE, then
+ * @param[in] onoff If gTrue a buffer is allocated to maintain console text
+ * when the console is obscured or invisible. If gFalse, then
* any existing buffer is deallocated.
* @note When the history buffer is turned on, scrolling is implemented using the
* history buffer.
*
- * @return TRUE if the history buffer is now turned on.
+ * @return gTrue if the history buffer is now turned on.
*/
- bool_t gwinConsoleSetBuffer(GHandle gh, bool_t onoff);
+ gBool gwinConsoleSetBuffer(GHandle gh, gBool onoff);
#endif
/**
@@ -172,9 +168,5 @@ void gwinPutCharArray(GHandle gh, const char *str, size_t n);
*/
void gwinPrintf(GHandle gh, const char *fmt, ...);
-#ifdef __cplusplus
-}
-#endif
-
#endif /* _GWIN_CONSOLE_H */
/** @} */