cairo/util/cairo-script
Emmanuele Bassi ba4d5fbd5d Build with hidden symbols by default
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
2023-08-16 16:33:04 +01:00
..
examples Remove autotools build 2023-01-08 22:27:47 +10:30
.gitignore gitignore: refresh 2010-01-22 22:30:43 +00:00
cairo-script-file.c build: Fix various compiler warnings 2020-11-07 06:45:01 -07:00
cairo-script-hash.c Misc. typos 2019-01-31 17:37:15 -08:00
cairo-script-interpreter-uninstalled.pc.in meson: Generate cairo-script-interpreter.pc needed by GTK+ 2020-12-22 13:16:05 -05:00
cairo-script-interpreter.c Build with hidden symbols by default 2023-08-16 16:33:04 +01:00
cairo-script-interpreter.h script: Attempt to decompress images in place 2013-01-08 15:01:37 +00:00
cairo-script-interpreter.pc.in Update util/cairo-script/cairo-script-interpreter.pc.in 2022-05-14 16:56:17 +00:00
cairo-script-objects.c cairo-script: Always include config.h first thing 2015-06-18 12:38:43 -07:00
cairo-script-operators.c Add remaining image formats to cairo-script constants table 2023-01-11 06:38:43 -05:00
cairo-script-private.h Drop "slim" symbols 2023-08-16 16:33:04 +01:00
cairo-script-scanner.c build: Fix various compiler warnings 2020-11-07 06:45:01 -07:00
cairo-script-stack.c cairo-script: Always include config.h first thing 2015-06-18 12:38:43 -07:00
COPYING Add CairoScript interpreter 2008-11-13 11:36:55 +00:00
csi-bind.c cairo-script: Prefer cairo from local tree 2015-06-18 12:38:55 -07:00
csi-exec.c cairo-script: Prefer cairo from local tree 2015-06-18 12:38:55 -07:00
csi-replay.c Drop cairo-gl 2023-01-27 19:21:46 +00:00
csi-trace.c csi-trace does not show help 2018-04-02 11:55:19 -07:00
meson.build Build with hidden symbols by default 2023-08-16 16:33:04 +01:00