|
From: | Kristian Lein-Mathisen |
Subject: | [Chicken-users] foreign: Why is passing structs as arguments and return-types not supported? |
Date: | Wed, 29 Feb 2012 14:07:01 +0100 |
Structs cannot be directly passed as arguments to foreign functions, nor can they be result values. (http://api.call-cc.org/doc/foreign/types#def:struct)
Pointers to structs are supported, but not structs-by-value. I am wondering if there are technical reason why this is the case, or if it's simply a "missing feature". If it simply hasn't been implemented, I will see if I can make this feature.
[Prev in Thread] | Current Thread | [Next in Thread] |