On Wed, Jul 8, 2020 at 8:51 PM Jack <[email protected]> wrote:
>
> Hello EveryOne
> I am a new guy. While I am trying to build cairo, i use pixman. I build a 
> pixman lib and it seems well. After I add it in cairo project, something is 
> wrong, the wrong information tell it can not find get function port from lib 
> (such as : _pixman_region32_contains_rectangle, _pixman_region32_fini and so 
> on).
> So I put my eye on pixman project and juess what I find ,those functions ( 
> _pixman_region32_contains_rectangle, _pixman_region32_fini and so on) are 
> just declared but with out implementation.

The pixman_region functions are implemented with "C templates", where
pixman-region32.c defines a few macros - PREFIX() in particular - and
then does #include "pixman-region.c" to define the actual functions.
Look for PREFIX(_contains_rectangle), etc.

- ajax

_______________________________________________
Pixman mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/pixman

Reply via email to