Also expose `strlen` through `string.h` instead of `stdio.h`.
(cherry picked from commit f4ca3d95ca)
Co-authored-by: Trim21 <trim21.me@gmail.com>
This commit is contained in:
parent
7d9c544c96
commit
adcc4d1f7b
4 changed files with 16 additions and 7 deletions
|
|
@ -13,4 +13,6 @@ void *memset(void *dst, int value, size_t count);
|
|||
|
||||
int strncmp(const char *left, const char *right, size_t n);
|
||||
|
||||
size_t strlen(const char *str);
|
||||
|
||||
#endif // TREE_SITTER_WASM_STRING_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue