<div dir="ltr">/facepalm, I accidentally have shadowed map with an api ffi... Yes that would explain my issue! Thanks, I should have seen it coming!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 2, 2023 at 3:01 PM &lt;<a href="mailto:bil@ccrma.stanford.edu">bil@ccrma.stanford.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On the first issue, it looks to me like you have<br>
your own map function -- scheme_map is not an s7<br>
function.  It is passing a null pointer to s7_integer.<br>
As s7.html explains (under &quot;FFI notes&quot;), the C-side<br>
functions do very little error checking.<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">David</div>