[fix] Removing C++ checks from all but the main API functions

This commit is contained in:
Al
2015-08-07 16:30:07 -04:00
parent 359a1efb03
commit 9b69d1f67a
19 changed files with 45 additions and 105 deletions

View File

@@ -94,8 +94,8 @@ bool string_is_lower(char *s) {
return true;
}
uint string_translate(char *str, size_t len, char *word_chars, char *word_repls, size_t trans_len) {
uint num_replacements = 0;
uint32_t string_translate(char *str, size_t len, char *word_chars, char *word_repls, size_t trans_len) {
uint32_t num_replacements = 0;
for (int i = 0; i < len; i++) {
for (int j = 0; j < trans_len; j++) {