nbindgen 0.0.1

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

type DummyStruct* {.incompleteStruct.} = object

type EnumWithAssociatedConstantInImpl* {.incompleteStruct.} = object

type TransparentComplexWrappingStructTuple* = DummyStruct

type TransparentPrimitiveWrappingStructTuple* = uint32

type TransparentComplexWrappingStructure* = DummyStruct

type TransparentPrimitiveWrappingStructure* = uint32

type TransparentComplexWrapper*[T] = DummyStruct

type TransparentPrimitiveWrapper*[T] = uint32

type TransparentPrimitiveWithAssociatedConstants* = uint32
const TransparentPrimitiveWithAssociatedConstants_ZERO* = 0
const TransparentPrimitiveWithAssociatedConstants_ONE* = 1

const EnumWithAssociatedConstantInImpl_TEN* = 10

proc root*(a: TransparentComplexWrappingStructTuple,
           b: TransparentPrimitiveWrappingStructTuple,
           c: TransparentComplexWrappingStructure,
           d: TransparentPrimitiveWrappingStructure,
           e: TransparentComplexWrapper[int32],
           f: TransparentPrimitiveWrapper[int32],
           g: TransparentPrimitiveWithAssociatedConstants,
           h: EnumWithAssociatedConstantInImpl) {.importc: "root".}