From 353791be99c55be5c75314a54d726a3b57dad0ff Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 29 Jan 2021 17:20:50 -0500 Subject: [PATCH] Update C-Calling-Conventions.md Added a note about FFI compatibility. --- docs/C-Calling-Conventions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/C-Calling-Conventions.md b/docs/C-Calling-Conventions.md index 961da6dc..088ecaa2 100644 --- a/docs/C-Calling-Conventions.md +++ b/docs/C-Calling-Conventions.md @@ -151,7 +151,7 @@ TODO: Are there any complications in referencing vars from `args` rather than di ## Changes to the FFI -`define-c` needs to use the new signature. +`define-c` needs to use the new signature. **TBD if there is an efficient way to do this without also requiring a migration of existing `define-c` forms. It would be great if existing code would continue to work, thus not making this a breaking change. Perhaps the compiler can detect the old signature and generate scaffolding accordingly.** `(cyclone foreign)` will need to be modified to generate `define-c` forms that are compatible with the new signatures.