mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 03:38:03 +02:00
config-parser: Export weston_config_next_section
This symbol wasn’t exported from the weston binary, most likely due to
an oversight in 6e2c12496b, and because
internal modules can link against libshared.la directly it hasn’t been
found ever since.
This commit makes it possible for external modules to iterate over the
configuration file.
Signed-off-by: Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Acked-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
4b341a8b33
commit
a1d214bb39
1 changed files with 1 additions and 0 deletions
|
|
@ -490,6 +490,7 @@ weston_config_get_full_path(struct weston_config *config)
|
|||
return config == NULL ? NULL : config->path;
|
||||
}
|
||||
|
||||
WL_EXPORT
|
||||
int
|
||||
weston_config_next_section(struct weston_config *config,
|
||||
struct weston_config_section **section,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue