Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 714 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 714 Bytes

Execute the example

The examples include the wrapper using Nimterop. It is done at compile time in duckdb_wrapper.nim.

Run it using :

nim c -r duckDbExamples.nim

Redirecting the output of duckdb_wrapper

The output is clean with verbosity at 0 and hints:off (see config.nims) nim c duckdb_wrapper.nim > generatedOutput_duckdbwrapper.nim

Note that every time you compile, Nimterop re-generate the wrapper from the zip file. Read more about Nimterop here : https://github.com/nimterop/nimterop It is probably also possible to generate the same thing (or close) using c2nim.

Now generatedOutput_duckdbwrapper.nim contains your wrapper. Publish it in a nimble package if you want.