Renamed all type names to CamelCaseNames for visual distinctness, separate from variables/functions

This commit is contained in:
Paul LeoNerd Evans
2009-07-15 20:40:44 +01:00
parent af50967d12
commit be998cef1b
18 changed files with 175 additions and 168 deletions

6
demo.c
View File

@@ -7,15 +7,15 @@ int main(int argc, char *argv[])
TERMKEY_CHECK_VERSION;
char buffer[50];
termkey_t *tk = termkey_new(0, 0);
TermKey *tk = termkey_new(0, 0);
if(!tk) {
fprintf(stderr, "Cannot allocate termkey instance\n");
exit(1);
}
termkey_result ret;
termkey_key key;
TermKeyResult ret;
TermKeyKey key;
while((ret = termkey_waitkey(tk, &key)) != TERMKEY_RES_EOF) {
termkey_snprint_key(tk, buffer, sizeof buffer, &key, TERMKEY_FORMAT_VIM);