repository: https://cgit.freedesktop.org/pixman/tree/
void pixman_region32_init (pixman_region32_t *region);
I can not find an implementation of that function..
thanks...
repository: https://cgit.freedesktop.org/pixman/tree/
void pixman_region32_init (pixman_region32_t *region);
I can not find an implementation of that function..
thanks...
It's in pixman-region32.c
. You don't see it because those functions are generated by the PREFIX
macro and then the code in pixman-region.c
is used. See here:
typedef pixman_box32_t box_type_t;
typedef pixman_region32_data_t region_data_type_t;
typedef pixman_region32_t region_type_t;
typedef int64_t overflow_int_t;
typedef struct {
int x, y;
} point_type_t;
#define PREFIX(x) pixman_region32##x
#define PIXMAN_REGION_MAX INT32_MAX
#define PIXMAN_REGION_MIN INT32_MIN
#include "pixman-region.c"
It first sets the PREFIX
macro to pixman_region32
and then imports the code from pixman-region.c
.
It's found in pixman/pixman.h (pixman-0.34.0)