diff options
| -rw-r--r-- | builtins/functions.c | 2 | ||||
| -rw-r--r-- | builtins/functions.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/builtins/functions.c b/builtins/functions.c index 9283bc38..5f66c1e1 100644 --- a/builtins/functions.c +++ b/builtins/functions.c @@ -148,7 +148,7 @@ static inline char *without_colors(const char *str) return buf; } -public void __doctest(void *expr, TypeInfo *type, CORD expected, const char *filename, int64_t start, int64_t end) +public void __doctest(void *expr, const TypeInfo *type, CORD expected, const char *filename, int64_t start, int64_t end) { static file_t *file = NULL; if (filename && (file == NULL || strcmp(file->filename, filename) != 0)) diff --git a/builtins/functions.h b/builtins/functions.h index 6342c47d..301630d8 100644 --- a/builtins/functions.h +++ b/builtins/functions.h @@ -11,7 +11,7 @@ extern const char *SSS_HASH_VECTOR; void fail(CORD fmt, ...); void fail_source(const char *filename, int64_t start, int64_t end, CORD fmt, ...); CORD builtin_last_err(); -public void __doctest(void *expr, TypeInfo *type, CORD expected, const char *filename, int64_t start, int64_t end); +public void __doctest(void *expr, const TypeInfo *type, CORD expected, const char *filename, int64_t start, int64_t end); uint32_t generic_hash(const void *obj, const TypeInfo *type); int32_t generic_compare(const void *x, const void *y, const TypeInfo *type); |
