# `Barnacle`
[🔗](https://github.com/physarella/barnacle/blob/v0.1.0/lib/barnacle.ex#L1)

Zig-first BEAM NIF helper.

Pairs with the `cement` Zig module exported by this repository's `build.zig`.

# `nif_path`

```elixir
@spec nif_path(atom(), atom() | String.t()) :: charlist()
```

Resolves the NIF shared library path (without extension) for `:erlang.load_nif/2`.

# `otp_release`

```elixir
@spec otp_release() :: pos_integer()
```

Returns the current Erlang/OTP major release number (e.g. `28`).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
