tickit_rectset_new3
Create or destroy a rectangle set
Usage
#include <tickit.h> TickitRectSet *tickit_rectset_new(void); void tickit_rectset_destroy(TickitRectSet *trs);
Link with -ltickit.
Overview
tickit_rectset_new() creates a new TickitRectSet instance. It will be initially empty, containing no regions.
tickit_rectset_destroy() destroys the given instances and releases any resources controlled by it.
Return value
If successful, tickit_rectset_new() returns a pointer to the new instance. On failure, NULL is returned with errno set to indicate the failure. tickit_rectset_destroy() returns no value.
Releases
Unchanged in 4 releases since Debian 10 (Buster).