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

@ -452,7 +452,6 @@ void phogen_rstrip(char *str, char *what)
}
}
/*
* Take the buffer in `bigin` and treat is as a big-endian big number.
* Perform a division using the 32-bit divisor in `base` and return the