No description
Find a file
2016-04-12 11:21:22 +02:00
.gitignore Added working testit.nim 2016-04-12 11:21:22 +02:00
LICENSE Initial commit 2016-04-12 09:00:57 +02:00
makenim.sh Added working testit.nim 2016-04-12 11:21:22 +02:00
README.md Added working testit.nim 2016-04-12 11:21:22 +02:00
sophia.h Added working testit.nim 2016-04-12 11:21:22 +02:00
sophia.nim Added working testit.nim 2016-04-12 11:21:22 +02:00
sophia.nimble Added working testit.nim 2016-04-12 11:21:22 +02:00
testit.nim Added working testit.nim 2016-04-12 11:21:22 +02:00
testit.nim.cfg Added working testit.nim 2016-04-12 11:21:22 +02:00

nim-sophia

Wrapper for Sophia 2.1 generated via c2nim.

The sophia.h is slightly modified, you can regenerate via makenim.sh.

Run "nim c -r testit.nim" to make sure the binding works.

Remember to enable --threads:on for your Nim program, otherwise it will fail to load libsophia.

If you decide to not link dynamically (Sophia is not available yet in easy packages AFAICT) then just copy libsophia.a to your project and compile like:

nim c --dynlibOverride:libsophia --passL:libsophia.a testit.nim