aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_console.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-06-23 13:02:07 +1000
committerinmarket <andrewh@inmarket.com.au>2018-06-23 13:02:07 +1000
commit41271d632b74f5cf47c30d3b699eb6b2786f2136 (patch)
tree78bcb729c6d6177ca598f28908fefd186c50e9b6 /src/gwin/gwin_console.h
parent3b97fb798e96514057bcf17263c1e5dbdcd7da26 (diff)
downloaduGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.gz
uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.bz2
uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.zip
Added new type definitions - moving towards V3.0
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 */
/** @} */