mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-13 21:30:19 +01:00
We should default on every platform we care about to hidden symbols, to avoid leaking private symbols. On Windows this is the default state of affairs with the MSVC toolchain; with GCC and GCC-compatible toolchains, we need to opt into this behaviour. Luckily for us, Cairo already has an annotation for public symbols, so we can easily tweak it to include the visibility attribute. When building ancillary libraries as part of the Cairo compilation on Windows, we use a pre-processor symbol to ensure that we keep the dllexport annotation. This avoids including the cairoint.h header file. Fixes: #582 |
||
|---|---|---|
| .. | ||
| cairo-fdr | ||
| cairo-gobject | ||
| cairo-missing | ||
| cairo-script | ||
| cairo-sphinx | ||
| cairo-trace | ||
| .gitignore | ||
| cairo-api-update | ||
| cairo-view | ||
| cairo.modules | ||
| COPYING | ||
| font-view.c | ||
| malloc-stats.c | ||
| meson.build | ||
| README | ||
| show-contour.c | ||
| show-edges.c | ||
| show-events.c | ||
| show-polygon.c | ||
| show-traps.c | ||
| waterfall | ||
| xr2cairo | ||
Cairo Utilities =============== There are a varieties of utilities we use with cairo. malloc-stats ------------ This is a small shared library designed to be preloaded by the linker and its purpose is to make the malloc_stats() function of glibc produce more useful information. Build by: make malloc-stats.so and use by: LD_PRELOAD=$(blddir)/util/libmalloc-stats.so app-to-run cairo-trace ----------- This tool can be used to trace all the cairo function calls made by an applications. This is useful for either extracting a test case triggering a bug from an application, or simply to get a general idea of how an application is using cairo. cairo-api-update and xr2cairo ----------------------------- These two scripts were used to convert source code written for pre-1.0 cairo to newer API. See $(top_srcdir)/PORTING_GUIDE for more information. These files are obsolete now and may be removed in a future version. cairo-view and waterfall ------------------------ These are two pycairo scripts useful for testing the toy font backend.