Hi,<div><br></div><div>I was trying to use cl.h (respectively, the Cython code that uses it)</div><div>together with another module that is written in C++ and there is a</div><div>problem because C++ includes the functions from cl.h but mangles</div>
<div>their names (thinking that they are C++ functions and not C ones).</div><div>This can be easily fixed by putting a</div><div>#ifdef __cplusplus</div><div>extern &quot;C&quot; {</div><div>#endif</div><div><br></div><div>
and a</div><div><br></div><div>#ifdef __cplusplus</div><div>}</div><div>#endif</div><div><br></div><div>around the function declarations in cl.h, which would allow C++ code</div><div>to use the C-level API for CWB.</div><div>
<br></div><div>I&#39;ll probably have to make do with a workaround for now (which is easy</div><div>enough), but maybe it would be useful for the benefit of future generations ;-)</div><div><br></div><div>Best,</div><div>
Yannick<br><div><br></div><div><br></div></div>