python: initial impl of bindings using cFFI

A PoC that exposes single function
`enry.language_by_extension()` and a small
number of helpers to deal with string
coversion between Go<->C<->Python.

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
Alexander Bezzubov
2019-06-01 19:47:13 +02:00
parent 6a6a3cc26e
commit ee7a0f1139
5 changed files with 111 additions and 0 deletions

View File

@ -59,4 +59,6 @@ package:
clean:
rm -rf $(JAR)
rm -rf $(RESOURCES_DIR)
rm -rf $(JNAERATOR_JAR)
.PHONY: test package clean linux-shared darwin-shared os-shared-lib