mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
For consistency, all close function return int
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1398 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -108,12 +108,11 @@ EXTERN NXTKWINDOW nxtk_openwindow(NXHANDLE handle,
|
||||
* hfwnd - The handle returned by nxtk_openwindow
|
||||
*
|
||||
* Return:
|
||||
* Success: A non-NULL handle used with subsequent NXTK window accesses
|
||||
* Failure: NULL is returned and errno is set appropriately
|
||||
* OK on success; ERROR on failure with errno set appropriately
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
EXTERN void nxtk_closewindow(NXTKWINDOW hfwnd);
|
||||
EXTERN int nxtk_closewindow(NXTKWINDOW hfwnd);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: nxtk_getposition
|
||||
@@ -309,11 +308,11 @@ EXTERN NXTKTOOLBAR nxtk_opentoolbar(NXTKWINDOW hfwnd, nxgl_coord_t height,
|
||||
* htb - The toolbar handle returned by nxtk_opentoolbar
|
||||
*
|
||||
* Return:
|
||||
* None
|
||||
* OK on success; ERROR on failure with errno set appropriately
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
EXTERN void nxtk_closetoolbar(NXTKTOOLBAR htb);
|
||||
EXTERN int nxtk_closetoolbar(NXTKTOOLBAR htb);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: nxtk_filltoolbar
|
||||
|
||||
Reference in New Issue
Block a user