summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorDaniel Llorens <lloda@sarc.name>2021-11-11 15:47:42 +0100
committerDaniel Llorens <lloda@sarc.name>2021-11-15 11:34:09 +0100
commit496f69dba2fdf1720b40349932fcdecd444107c3 (patch)
treedc850c5afca668788a24350c0464f1eb817ea353 /NEWS
parent24116be822c96741eacd667e4e3507300c596cba (diff)
downloadguile-496f69dba2fdf1720b40349932fcdecd444107c3.tar.gz
Support C99 complex types in (system foreign)
* libguile/foreign.h (SCM_FOREIGN_TYPE_COMPLEX_FLOAT, SCM_FOREIGN_TYPE_COMPLEX_DOUBLE): New enums. * module/system/foreign.scm (complex-float, complex-double): Export new types. (make-c-struct, parse-c-struct): Support the new types. * libguile/foreign.c (complex-float, complex-double): Define new types. (alignof, sizeof, pack, unpack): Support the new types. * test-suite/tests/foreign.test: Test.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f41e772ad..710b8ddda 100644
--- a/NEWS
+++ b/NEWS
@@ -49,6 +49,11 @@ Bytevectors" in the manual.
Compared to the previous versions, these accept range arguments. See
"Accessing and Modifying Vector Contents" in the manual.
+** (system foreign) supports C99 complex types
+
+The types `complex-float' and `complex-double' stand for C99 `float
+_Complex' and `double _Complex` respectively.
+
Changes in 3.0.7 (since 3.0.6)