tidwall / neco

Concurrency library for C (coroutines)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[proposal] Export C functions for use in C++

sigidagi opened this issue · comments

To call C functions from C++ some small changes can be added to neco.h interface. See forked version of neco.h .

I am writing a small C++ wrapper for neco library: necopp . So, in that case it could be useful to link dependencies to direct source instead of forked version of neco library. (Utilizing cmake as a package manager).

I'd be willing to add C++ support.