greyblake / whatlang-ffi

C bindings for whatlang Rust library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Whatlang FFI

C bindings for whatlang natural language detection library.

Running an example

make run

Configuration and Use

To use this library from C include the header whatlang.h and link against libwhatlang.so / whatlang.dll.

By default enum values are defined as C constants. This representation can be changed by defining WHATLANG_USE_C_ENUMS before including whatlang.h. This doesn't change the underlying ABI.

License

MIT © Sergey Potapov

About

C bindings for whatlang Rust library

License:MIT License


Languages

Language:C 72.0%Language:Rust 25.2%Language:Makefile 2.8%