tag: add a boolean tag

This commit is contained in:
Daniel Eklöf 2018-11-18 11:00:01 +01:00
parent 081bccf06d
commit 12e9304612
2 changed files with 26 additions and 0 deletions

3
tag.h
View file

@ -2,6 +2,8 @@
#include <stddef.h>
#include <stdbool.h>
struct tag {
void *private;
@ -16,6 +18,7 @@ struct tag_set {
};
struct tag *tag_new_int(const char *name, long value);
struct tag *tag_new_bool(const char *name, bool value);
struct tag *tag_new_float(const char *name, double value);
struct tag *tag_new_string(const char *name, const char *value);