From 7b7aac8df4184b0e8de2bde64735fcf7c4d066fb Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Mon, 16 Dec 2024 14:08:08 +0100 Subject: [PATCH] schrift use ZString where necessary --- lib/libschrift.c3l/libschrift.c3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libschrift.c3l/libschrift.c3 b/lib/libschrift.c3l/libschrift.c3 index 9cf8f31..dde82a5 100644 --- a/lib/libschrift.c3l/libschrift.c3 +++ b/lib/libschrift.c3l/libschrift.c3 @@ -45,10 +45,10 @@ struct SftImage int height; } -extern fn char* sft_version() @extern("sft_version"); +extern fn ZString sft_version() @extern("sft_version"); extern fn SftFont loadmem(void* mem, usz size) @extern("sft_loadmem"); -extern fn SftFont loadfile(char* filename) @extern("sft_loadfile"); +extern fn SftFont loadfile(ZString filename) @extern("sft_loadfile"); extern fn void freefont(SftFont font) @extern("sft_freefont"); extern fn int lmetrics(Sft* sft, SftLMetrics* metrics) @extern("sft_lmetrics");