<@U3SK5B492> With this def file ``` headerFilter ...
# kotlin-native
j
@olonho With this def file
Copy code
headerFilter = czmq.h czmq_prelude.h czmq_library.h zactor.h zarmour.h zcert.h zcertstore.h zchunk.h zclock.h zconfig.h zdigest.h zdir.h zdir_patch.h zfile.h zframe.h zhash.h zhashx.h ziflist.h zlist.h zlistx.h zloop.h zmsg.h zpoller.h zsock.h zstr.h zuuid.h zauth.h zbeacon.h zgossip.h zmonitor.h zproxy.h zrex.h zsys.h
It generates empty bindings
o
You need backslashes on line continuations
j
Its all one line.
o
with https://github.com/JetBrains/kotlin-native/commit/2bbc7d6058f5bf27bbee4cc32d746b00d767a2b4 which fixes _ used as structure field and following .def file everything seems to work for me:
Copy code
headers = czmq.h
headerFilter = *zmq*.h
your code didn't work, as most of the meat of the library was in file matching
zmq*
pattern (note missing
c
at the beginning)