Hello, is it possible to include symbols from depe...
# kotlin-native
a
Hello, is it possible to include symbols from dependencies in a shared library build on mingw? Specifically, I'm building a project
Foo
that has an
api
dependency on
Bar
, which as I understand it should export its symbols to consumers. However, the generated header only contains types from
Bar
that are referenced in the public API of
Foo
, and even then only as opaque pointers with no vtables. Is there a way to include the entire public API of
Bar
so that clients using the C API can make full use of
Bar
objects returned from
Foo
? This seems similar to the
export
setting on
framework
builds for iOS, but I didn't see anything similar for
sharedLib
. Thanks!
k
looking at the source, the
export
method is only available on Framework. not sure why.