Fix const issue
This commit is contained in:
parent
291a0ed40c
commit
dcd4fd7797
@ -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))
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user