c: Finish the phogen module

This commit implements the `phogen_encode` function, which takes a bhash
as argument and generates a phonetic string.
This commit is contained in:
2021-11-14 09:12:20 +01:00
parent ad0627b9c1
commit 560db14a85
4 changed files with 78 additions and 4 deletions

View File

@ -13,6 +13,7 @@ phogen_inc = include_directories('inc')
phogen_lib = static_library(
'phogen',
[phogen_map_h, 'src/phogen.c'],
include_directories : phogen_inc)
include_directories : phogen_inc,
dependencies: bhash_dep)
phogen_dep = declare_dependency(link_with : phogen_lib, include_directories : phogen_inc)