Mercurial > hg > nnchat
comparison util.h @ 656:10c05931dfe5
Cosmetic.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 02 Feb 2015 23:45:39 +0200 |
parents | 68994cb1f1a6 |
children | f212cbfbd93c |
comparison
equal
deleted
inserted
replaced
655:68994cb1f1a6 | 656:10c05931dfe5 |
---|---|
58 size_t pos, len, size; | 58 size_t pos, len, size; |
59 char *data; | 59 char *data; |
60 BOOL dirty; | 60 BOOL dirty; |
61 } nn_editbuf_t; | 61 } nn_editbuf_t; |
62 | 62 |
63 | |
63 int nn_editbuf_write(nn_editbuf_t *buf, size_t pos, char ch); | 64 int nn_editbuf_write(nn_editbuf_t *buf, size_t pos, char ch); |
64 int nn_editbuf_insert(nn_editbuf_t *buf, size_t pos, char ch); | 65 int nn_editbuf_insert(nn_editbuf_t *buf, size_t pos, char ch); |
65 int nn_editbuf_delete(nn_editbuf_t *buf, size_t pos); | 66 int nn_editbuf_delete(nn_editbuf_t *buf, size_t pos); |
66 void nn_editbuf_clear(nn_editbuf_t *buf); | 67 void nn_editbuf_clear(nn_editbuf_t *buf); |
67 nn_editbuf_t * nn_editbuf_new(size_t n); | 68 nn_editbuf_t * nn_editbuf_new(size_t n); |