Created
February 20, 2018 09:30
-
-
Save myokoym/6c3318d58cda326064b47933e20e02f1 to your computer and use it in GitHub Desktop.
WIP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import times | |
echo getLocalTime(getTime()) | |
{.passC: gorge("pkg-config --cflags groonga").} | |
{.passL: gorge("pkg-config --libs groonga").} | |
proc version(): cstring {.header: "<groonga/groonga.h>", importc: "grn_get_version"} | |
proc package_label(): cstring {.header: "<groonga/groonga.h>", importc: "grn_get_package_label"} | |
echo version() | |
echo package_label() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment