nbindgen 0.0.1

A tool for generating Nim bindings to Rust code (based on cbindgen).
Documentation
1
2
3
4
5
6
7
8

type Normal* = object
  x: int32
  y: float32

proc bar*(a: Normal) {.importc: "bar".}

proc foo*(): int32 {.importc: "foo".}