mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 20:45:06 +02:00
New release
This commit is contained in:
parent
c3476103a3
commit
e6aa57b5d4
1 changed files with 20 additions and 0 deletions
20
_posts/2020-03-11-Released-Cyclone-Scheme-0.16.md
Normal file
20
_posts/2020-03-11-Released-Cyclone-Scheme-0.16.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
---
|
||||||
|
layout: post
|
||||||
|
title: Released Cyclone Scheme 0.16
|
||||||
|
excerpt: This release contains bug fixes and improvements for freeing memory allocated for Opaque C objects.
|
||||||
|
---
|
||||||
|
|
||||||
|
Features
|
||||||
|
|
||||||
|
- 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);
|
||||||
|
opaque_collect_ptr(&opq) = 1; // Cyclone's GC will free this memory
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
|
||||||
|
- Fixed a bug in `read-bytevector` where an extra byte could be introduced when reading multiple chunks of data.
|
||||||
|
- Fixed a bug where variables defined within `define-syntax` and `let-syntax` are reported as unbound by the compiler.
|
Loading…
Add table
Reference in a new issue