#!/usr/bin/env bash set -eu # https://github.com/objectbox/objectbox-c/releases # It's important that the generated dart bindings and the c-api library version match. Dart won't error on C function # signature mismatch, leading to obscure memory bugs. # For how to upgrade the version see dev-doc/updating-c-library.md cLibVersion=4.2.0 os=$(uname) cLibArgs="$*" bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-c/main/download.sh) ${cLibArgs} ${cLibVersion}