Merge pull request #47 from QQNN-blue/change_capn_write_mem_return_val_type
Change capn_write_mem return value from int to int64_t
This commit is contained in:
commit
0650ccbf17
2 changed files with 5 additions and 5 deletions
|
|
@ -290,7 +290,7 @@ int capn_size(struct capn *c);
|
|||
/* TODO */
|
||||
/*int capn_write_fp(struct capn *c, FILE *f, int packed);*/
|
||||
int capn_write_fd(struct capn *c, ssize_t (*write_fd)(int fd, const void *p, size_t count), int fd, int packed);
|
||||
int capn_write_mem(struct capn *c, uint8_t *p, size_t sz, int packed);
|
||||
int64_t capn_write_mem(struct capn *c, uint8_t *p, size_t sz, int packed);
|
||||
|
||||
void capn_free(struct capn *c);
|
||||
void capn_reset_copy(struct capn *c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue