nbindgen 0.0.1

A tool for generating Nim bindings to Rust code (based on cbindgen).
Documentation

type Opaque* {.incompleteStruct.} = object

type Normal* = object
  x: int32
  y: float32

type NormalWithZST* = object
  x: int32
  y: float32

type TupleRenamed* = object
  m0: int32
  m1: float32

type TupleNamed* = object
  x: int32
  y: float32

proc root*(a: ptr Opaque,
           b: Normal,
           c: NormalWithZST,
           d: TupleRenamed,
           e: TupleNamed) {.importc: "root".}