From f783ea15214e13e892dde8415bdb617ce2bbe179 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Fri, 4 Apr 2025 08:55:03 +0300 Subject: [PATCH] Update caveats. Change stklos comment to fixme --- README.md | 3 +++ retropikzel/pffi/stklos.scm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 723d01a..5dd7b6c 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,9 @@ changing anymore and some implementations are in **beta**. - Most implementations are missing callback support - Always pass arguments to pffi functions/macros as '(1 2 3) and not (list 1 2 3) - Always pass pffi-define-callback procedure as lambda in place +- No support for variadic function arguments + - Can be partially worked around by defining multiple versions of same + function with different amount of arguments ## Roadmap diff --git a/retropikzel/pffi/stklos.scm b/retropikzel/pffi/stklos.scm index dd98f31..90af12c 100644 --- a/retropikzel/pffi/stklos.scm +++ b/retropikzel/pffi/stklos.scm @@ -73,7 +73,7 @@ (lambda () (error "Not implemented"))) -; If youre reading this, this is just a temp hack. Dont judge me :D +; FIXME (define size-of-type (lambda (type) (cond