mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
include/: tidy up header files
This commit is contained in:
parent
2d6921039d
commit
649437e336
7 changed files with 17 additions and 5 deletions
|
|
@ -17,14 +17,14 @@ struct buf {
|
|||
int len;
|
||||
};
|
||||
|
||||
/*
|
||||
/**
|
||||
* buf_init - allocate NULL-terminated C string buffer
|
||||
* @s - buffer
|
||||
* Note: use free(s->buf) to free it.
|
||||
*/
|
||||
void buf_init(struct buf *s);
|
||||
|
||||
/*
|
||||
/**
|
||||
* buf_add - add data to C string buffer
|
||||
* @s - buffer
|
||||
* @data - data to be added
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef __LABWC_BUG_ON_H
|
||||
#define __LABWC_BUG_ON_H
|
||||
|
||||
/*
|
||||
/**
|
||||
* BUG_ON - assert() without abort()
|
||||
* @condition - expression to be evaluated
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef __LABWC_FONT_H
|
||||
#define __LABWC_FONT_H
|
||||
|
||||
/*
|
||||
/**
|
||||
* font_height - get font vertical extents
|
||||
* @font_description: string describing font, for example 'sans 10'
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue