aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-04-20 15:53:37 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-04-20 15:53:37 +0200
commit263190b15ebcb1188df6fbc2bc90dca6e4ea5d8d (patch)
tree83aebbf12cf32d30942f23673beecfa87de526a3 /examples
parent1fcdd6f58533cdc4b89cead6119179646a05178f (diff)
style(header): add typdown_ prefix
Diffstat (limited to 'examples')
-rw-r--r--examples/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/main.c b/examples/main.c
index 11534b3..5dd3a4b 100644
--- a/examples/main.c
+++ b/examples/main.c
@@ -5,11 +5,11 @@
void foo(char *v) {
uint8_t code;
- char *res = parse(v, &code);
+ char *res = typdown_parse(v, &code);
if (code == 0) {
printf("%s\n", res);
free(res);
- } else printf("cannot parse '%s', error: %s (%d)\n", v, getErrorString(code), code);
+ } else printf("cannot parse '%s', error: %s (%d)\n", v, typdown_getErrorString(code), code);
}
int main() {