include/: tidy up header files

This commit is contained in:
Johan Malm 2020-08-07 20:21:14 +01:00
parent 2d6921039d
commit 649437e336
7 changed files with 17 additions and 5 deletions

View file

@ -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

View file

@ -1,7 +1,7 @@
#ifndef __LABWC_BUG_ON_H
#define __LABWC_BUG_ON_H
/*
/**
* BUG_ON - assert() without abort()
* @condition - expression to be evaluated
*/

View file

@ -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'
*/