Fix const issue

This commit is contained in:
Bruce Hill 2024-02-29 12:46:55 -05:00
parent 291a0ed40c
commit dcd4fd7797
2 changed files with 2 additions and 2 deletions

View File

@ -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))

View File

@ -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);