From 7fef5d650747237e887c20e3c785b962a0814f02 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 14 Aug 2020 17:51:29 -0400 Subject: [PATCH] Add more information --- examples/call-scm-from-c/Readme.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/call-scm-from-c/Readme.md b/examples/call-scm-from-c/Readme.md index 3c428be8..7cd329ac 100644 --- a/examples/call-scm-from-c/Readme.md +++ b/examples/call-scm-from-c/Readme.md @@ -1 +1,5 @@ -`limited-scm-call-from-c.scm` - A sample application to demonstrate how to make simple, limited calls into Scheme code from C. See the code for more information. +This directory contains two sample applications to demonstrate how to call into Scheme code from C. + +`full-with-gc.scm` - A sample application demonstrating how to call arbitrary Scheme code from C in a safe way. This is the recommended method and would be the best place to start when building your own application. + +`basic-no-gc.scm` - A sample application to demonstrate how to make simple, limited calls into Scheme code from C. This method is more efficient but also has significant limitations. See the code for more information.