[PATCH 0/5] Allow user to specify how the code is used
Emil Velikov
emil.l.velikov at gmail.com
Wed Jul 26 13:56:16 UTC 2017
Hi all,
Here is an alternative version of the "symbol visibility" series by Jonas.
It starts with a couple of mildly related cleanups, which are trivial and
can be applied irrespective of the rest.
Key goals/differences:
- use "object type" as opposed to "symbol visibility"
Defines the goal, as opposed to the means.
- there's no "static" option
Including .c files from another is considered a bad practise - don't trick
people into using it.
- The default option, as provided by wayland-scanner.mk, is STATIC
- No tests, yet
If people are OK with the idea/approach I can spin some.
Emil Velikov (5):
scanner: remove unused scanner.mk
scanner: use tabs for indentation.
scanner: introduce --object-type option
build: set the scanner --object-type option
wayland-scanner.mk: default --object-type to static
Makefile.am | 2 +-
src/scanner.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++-------
src/scanner.mk | 8 -------
wayland-scanner.mk | 2 +-
4 files changed, 61 insertions(+), 18 deletions(-)
delete mode 100644 src/scanner.mk
--
2.13.0
More information about the wayland-devel
mailing list