瀏覽代碼

* Minor documentation fix.

tags/v0.99.beta14
Sam Hocevar sam 18 年之前
父節點
當前提交
b1bf22a593
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      cucul/frame.c

+ 2
- 1
cucul/frame.c 查看文件

@@ -90,13 +90,14 @@ char const *cucul_get_frame_name(cucul_canvas_t *cv)
/** \brief Set the current frame's name.
*
* Set the current frame's name. Upon creation, a frame has a default name
* of \rc "frame#xxxxxxxx" where \c xxxxxxxx is a self-incrementing
* of \c "frame#xxxxxxxx" where \c xxxxxxxx is a self-incrementing
* hexadecimal number.
*
* If an error occurs, -1 is returned and \b errno is set accordingly:
* - \c ENOMEM Not enough memory to allocate new frame.
*
* \param cv A libcucul canvas.
* \param name The name to give to the current frame.
* \return 0 in case of success, -1 if an error occurred.
*/
int cucul_set_frame_name(cucul_canvas_t *cv, char const *name)


Loading…
取消
儲存