forked from external/yambar
tag: add a boolean tag
This commit is contained in:
parent
081bccf06d
commit
12e9304612
2 changed files with 26 additions and 0 deletions
3
tag.h
3
tag.h
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue