hmmlib.h: don't include stdbool
This commit is contained in:
parent
de2c632806
commit
7034ce096b
|
@ -1,8 +1,6 @@
|
||||||
#ifndef HMML_H_
|
#ifndef HMML_H_
|
||||||
#define HMML_H_
|
#define HMML_H_
|
||||||
#include <stdint.h>
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdbool.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
// Data structures
|
// Data structures
|
||||||
|
@ -81,7 +79,7 @@ typedef struct {
|
||||||
size_t marker_count;
|
size_t marker_count;
|
||||||
|
|
||||||
HMML_Quote quote;
|
HMML_Quote quote;
|
||||||
bool is_quote;
|
_Bool is_quote;
|
||||||
} HMML_Annotation;
|
} HMML_Annotation;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -90,7 +88,7 @@ typedef struct {
|
||||||
} HMML_Error;
|
} HMML_Error;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
bool well_formed;
|
_Bool well_formed;
|
||||||
HMML_VideoMetaData metadata;
|
HMML_VideoMetaData metadata;
|
||||||
HMML_Annotation* annotations;
|
HMML_Annotation* annotations;
|
||||||
size_t annotation_count;
|
size_t annotation_count;
|
||||||
|
|
|
@ -8,3 +8,8 @@ hmmlib.o: hmmlib.c
|
||||||
|
|
||||||
example: example.c hmml.a
|
example: example.c hmml.a
|
||||||
gcc -g $^ -o $@
|
gcc -g $^ -o $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(RM) hmml.a hmmlib.o example
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
|
Loading…
Reference in New Issue