diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2009-07-15 20:40:44 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2009-07-15 20:40:44 +0100 |
commit | be998cef1b8a46391956dc212ef3bf1351da0f3a (patch) | |
tree | b5634e51fc74ca524f94a05ece2ddc430994ec58 /demo.c | |
parent | af50967d12929b5745e868796ba50e4ee9b54f6d (diff) | |
download | termo-be998cef1b8a46391956dc212ef3bf1351da0f3a.tar.gz termo-be998cef1b8a46391956dc212ef3bf1351da0f3a.tar.xz termo-be998cef1b8a46391956dc212ef3bf1351da0f3a.zip |
Renamed all type names to CamelCaseNames for visual distinctness, separate from variables/functions
Diffstat (limited to 'demo.c')
-rw-r--r-- | demo.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |