|
sombok
2.2.1
|
#include <sombok.h>
Data Fields | |
private members | |
| unsigned long int | refcount |
| int | state |
| unistr_t | bufstr |
| unistr_t | bufspc |
| double | bufcols |
| unistr_t | unread |
public members | |
| size_t | charmax |
| double | colmax |
| double | colmin |
| mapent_t * | map |
| size_t | mapsiz |
| unistr_t | newline |
| unsigned int | options |
| void * | format_data |
| void * | sizing_data |
| void * | urgent_data |
| void * | user_data |
| void * | stash |
| linebreak_format_func_t | format_func |
| linebreak_sizing_func_t | sizing_func |
| linebreak_urgent_func_t | urgent_func |
| linebreak_obs_prep_func_t | user_func |
| linebreak_ref_func_t | ref_func |
| int | errnum |
public members addendum on release 2011.1. | |
| linebreak_prep_func_t * | prep_func |
| void ** | prep_data |
LineBreak object.
| double linebreak_t::bufcols |
calculated columns of buffered line
spaces trailing to buffered line
buffered line
| size_t linebreak_t::charmax |
Maximum number of Unicode characters each line may contain.
| double linebreak_t::colmax |
Maximum number of columns.
| double linebreak_t::colmin |
Minimum number of columns.
Number of last error. may be a value of errno defined in <errno.h> or LINEBREAK_ELONG below.
| void* linebreak_t::format_data |
Data argument of callback functions. See utils.c.
Format callback function. See utils.c.
User-tailored property map.
| size_t linebreak_t::mapsiz |
Newline sequence.
| unsigned int linebreak_t::options |
Options. See Defines.
| void** linebreak_t::prep_data |
Data argument of each preprocessing callback functions. See utils.c.
Array of preprocessing callback functions. See utils.c.
Reference Count function. This may be called with 3 arguments: ref_func(data, type, action). data is a (pointer to) external object assinged to stash, format_data, sizing_data, urgent_data or prep_data members. type is type of object. according to action being negative or positive, this function should decrement or increment reference count of object, respectively.
| unsigned long int linebreak_t::refcount |
reference count
| void* linebreak_t::sizing_data |
Sizing callback function. See utils.c.
| void* linebreak_t::stash |
User-defined private data.
state
unread input
| void* linebreak_t::urgent_data |
Urgent breaking callback function. See utils.c.
| void* linebreak_t::user_data |
Preprocessing callback function. See utils.c.
1.7.6.1