Mercurial > libedl
comparison include/datatypes.h @ 8:0c98b46eaf73 v2.0
*: update API to 2.0, big changes
all APIs now use pointers to an EDL object. it is up to the
user to make sure that the pointer is valid.
additionally, many things have been separated into new files
to make it easier to digest
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 03 Mar 2024 17:56:58 -0500 |
parents | |
children | 0cc2555db371 |
comparison
equal
deleted
inserted
replaced
7:fee08fa622e1 | 8:0c98b46eaf73 |
---|---|
1 #ifndef __edl__internal__datatypes_h | |
2 #define __edl__internal__datatypes_h | |
3 | |
4 #include <stddef.h> | |
5 #include "edl.h" /* EDL_media_type_t */ | |
6 | |
7 size_t EDL_internal_parse_int(const char* input, size_t offset, size_t length, int* int_return); | |
8 size_t EDL_internal_parse_double(const char* input, size_t offset, size_t length, double* double_return); | |
9 size_t EDL_internal_parse_bool(const char* input, size_t offset, size_t length, bool* bool_return); | |
10 size_t EDL_internal_parse_media_type(const char* input, size_t offset, size_t length, EDL_media_type_t* media_return); | |
11 size_t EDL_internal_parse_string(const char* input, size_t offset, size_t length, char** string_return); | |
12 | |
13 char* EDL_internal_integer_to_string(int value); | |
14 char* EDL_internal_double_to_string(double value); | |
15 char* EDL_internal_bool_to_string(bool value); | |
16 char* EDL_internal_media_type_to_string(EDL_media_type_t value); | |
17 | |
18 #endif /* __edl__internal__datatypes_h */ |