Use individual args instead of TSLength in input seek function
This commit is contained in:
parent
b3a6de6dad
commit
8e217f758c
5 changed files with 8 additions and 8 deletions
|
|
@ -16,7 +16,7 @@ typedef struct {
|
|||
typedef struct {
|
||||
void *payload;
|
||||
const char *(*read_fn)(void *payload, size_t *bytes_read);
|
||||
int (*seek_fn)(void *payload, TSLength position);
|
||||
int (*seek_fn)(void *payload, size_t character, size_t byte);
|
||||
} TSInput;
|
||||
|
||||
typedef enum {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue