Common code that is shared between generic C bindings used in iOS/macOS(Swift) and Android/JVM(JNI/Kotlin) bindings.
Is responsible for creating and managing pointers for instances of ergo-lib types (Address
, ErgoBox
, etc.);
Uses mostly Rust types in it's API and is not suitable for C FFI. See ergo-lib-c
for ready to use C bindings.