Ivan FB a618e09afe
feat: link the unified liblogosdelivery from the cgo bridges
logos-delivery#3949 collapses libwaku into liblogosdelivery so a single
C library exports both the waku_* and logosdelivery_* ABIs. Point the
libwaku bridge at liblogosdelivery (header + -llogosdelivery) and route
its event registration through logosdelivery_set_event_callback, since
the waku-specific set_event_callback no longer exists.

With one shared library the two bridges no longer carry overlapping
symbols, so drop the "must not link together" caveats from the package
docs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 11:32:56 +02:00

10 lines
474 B
Go

// Package ffi groups the cgo bridges over liblogosdelivery, the unified
// logos-delivery C library.
//
// Each ABI gets its own subpackage — libwaku for the legacy waku_* Kernel API,
// liblogosdelivery for the logosdelivery_* Messaging API. Since
// logos-delivery#3949 merged the two libraries into one, both bridges link the
// same liblogosdelivery and may coexist in a single binary; the split is kept
// purely so callers import only the ABI they use.
package ffi