<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 12, 2015 at 4:42 PM, Jason Ripley <span dir="ltr">&lt;<a href="mailto:ripley.jason@gmail.com" target="_blank">ripley.jason@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The example in <span style="font-size:12.8000001907349px">s7.html#definestar1 is actually where I learned of s7_define_function_star.  I made a small project in C and it works as it should.  However, I cannot seem to find the correct invocation in C++ to make it work.  I was wondering if it needs something like extern &quot;C&quot;, which I tried to no avail. </span><div><br></div></div></blockquote><div><br></div><div>Maybe you should post the code that doesn&#39;t work.</div><div><br></div><div><br></div><div><br></div></div></div></div>