mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-11 05:33:55 -04:00
config: config_free(): pass conf struct by pointer, not by-value
This commit is contained in:
parent
06d7432af3
commit
99db7aa7cf
5 changed files with 49 additions and 49 deletions
2
config.h
2
config.h
|
|
@ -328,7 +328,7 @@ bool config_load(
|
|||
struct config *conf, const char *path,
|
||||
user_notifications_t *initial_user_notifications,
|
||||
config_override_t *overrides, bool errors_are_fatal);
|
||||
void config_free(struct config conf);
|
||||
void config_free(struct config *conf);
|
||||
struct config *config_clone(const struct config *old);
|
||||
|
||||
bool config_font_parse(const char *pattern, struct config_font *font);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue