Closed dropbear32 closed 3 years ago
I have not tested this with the Swift Package Manager, only with Xcode.
I suspect that for swift package manager, we need two targets, one for a C library, and one for the Swift one.
This works with SwiftPM now
I'm trying to use this toolkit in my Swift Package Manager project; however, I can't figure out a way to import
Curses-Bridging-Header.h
and thereforem_cchar_t
remains undefined, which makes this line error:with
Is there a way for me to somehow define
m_cchar_t
such thatadd_wch_def
functions correctly?