FFI example with sqlite3 OR sqlite in 5 minutes using codon #165
iuridiniz
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A port of: SQLite In 5 Minutes Or Less.
I hope this can help anyone wanting to make a library binding.
Note: This example only exists thanks to clarifications made by @arshajii in thread #161. Thank you very much.
Code
Compile
Test
Test like a python script
Note: Since I'm using FFI with dinamic linking (not dlopen), you need to change the first line of script to correct path to
sqlite3.so
Beta Was this translation helpful? Give feedback.
All reactions