From 38b1b155e3976e86fde80aa3d5a1ae30c3b9091a Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Thu, 5 Mar 2020 14:07:00 -0500 Subject: [PATCH 1/2] Update CHANGELOG.md --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9da479e3..430edd06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,9 @@ Features - Updated the C API to optionally allow the GC to free memory pointed to by an Opaque object. For example: - my_c_obj = calloc(1, sizeof(*my_c_obj_type)); - make_c_opaque(opq, my_c_obj); - opaque_collect_ptr(&opq) = 1; // Cyclone's GC will free this memory + my_c_obj = calloc(1, sizeof(*my_c_obj_type)); + make_c_opaque(opq, my_c_obj); + opaque_collect_ptr(&opq) = 1; // Cyclone's GC will free this memory ## 0.15 - February 26, 2020 From af00faf501a09a91d8ea1c811e2ac0ab395ea790 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Thu, 5 Mar 2020 14:07:27 -0500 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 430edd06..ee28b4c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,9 @@ Features -- Updated the C API to optionally allow the GC to free memory pointed to by an Opaque object. For example: +- Updated the C API to optionally allow Cyclone's GC to free memory pointed to by an Opaque object. + + For example: my_c_obj = calloc(1, sizeof(*my_c_obj_type)); make_c_opaque(opq, my_c_obj);