annotate include/datatypes.h @ 14:2d7c810a1ac2 default tip

*: misc. cleanup
author Paper <paper@paper.us.eu.org>
date Fri, 03 May 2024 22:40:28 -0400
parents 41b74137e201
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
41b74137e201 include: make header guards sane
Paper <paper@paper.us.eu.org>
parents: 12
diff changeset
1 #ifndef EDL_INTERNAL_DATATYPES_H_
41b74137e201 include: make header guards sane
Paper <paper@paper.us.eu.org>
parents: 12
diff changeset
2 #define EDL_INTERNAL_DATATYPES_H_
8
0c98b46eaf73 *: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff changeset
3
0c98b46eaf73 *: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff changeset
4 #include <stddef.h>
0c98b46eaf73 *: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff changeset
5 #include "edl.h" /* EDL_media_type_t */
12
0cc2555db371 *: make our string functions not stupid
Paper <paper@paper.us.eu.org>
parents: 8
diff changeset
6 #include "str.h"
8
0c98b46eaf73 *: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff changeset
7
0c98b46eaf73 *: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff changeset
8 size_t EDL_internal_parse_int(const char* input, size_t offset, size_t length, int* int_return);
0c98b46eaf73 *: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff changeset
9 size_t EDL_internal_parse_double(const char* input, size_t offset, size_t length, double* double_return);
0c98b46eaf73 *: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff changeset
10 size_t EDL_internal_parse_bool(const char* input, size_t offset, size_t length, bool* bool_return);
0c98b46eaf73 *: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff changeset
11 size_t EDL_internal_parse_media_type(const char* input, size_t offset, size_t length, EDL_media_type_t* media_return);
0c98b46eaf73 *: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff changeset
12 size_t EDL_internal_parse_string(const char* input, size_t offset, size_t length, char** string_return);
0c98b46eaf73 *: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff changeset
13
12
0cc2555db371 *: make our string functions not stupid
Paper <paper@paper.us.eu.org>
parents: 8
diff changeset
14 int EDL_internal_append_integer_to_string(EDL_internal_string* str, int value);
0cc2555db371 *: make our string functions not stupid
Paper <paper@paper.us.eu.org>
parents: 8
diff changeset
15 int EDL_internal_append_double_to_string(EDL_internal_string* str, double value);
0cc2555db371 *: make our string functions not stupid
Paper <paper@paper.us.eu.org>
parents: 8
diff changeset
16 int EDL_internal_append_bool_to_string(EDL_internal_string* str, bool value);
0cc2555db371 *: make our string functions not stupid
Paper <paper@paper.us.eu.org>
parents: 8
diff changeset
17 int EDL_internal_append_media_type_to_string(EDL_internal_string* str, EDL_media_type_t value);
8
0c98b46eaf73 *: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff changeset
18
13
41b74137e201 include: make header guards sane
Paper <paper@paper.us.eu.org>
parents: 12
diff changeset
19 #endif /* EDL_INTERNAL_DATATYPES_H_ */