Mercurial > hg > nnchat
diff libnnutil.h @ 419:d015ecbd231d
Use C99 style comments, too.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 24 May 2012 07:37:36 +0300 |
parents | 3e64acb433e8 |
children |
line wrap: on
line diff
--- a/libnnutil.h Thu May 24 07:34:37 2012 +0300 +++ b/libnnutil.h Thu May 24 07:37:36 2012 +0300 @@ -15,7 +15,7 @@ #define NN_TMPBUF_SIZE (4096) #define NN_ALLOC_SIZE (128) #define NN_NUM_BUCKETS (256) -#define NN_BACKBUF_LEN (512) /* Backbuffer size (in lines) */ +#define NN_BACKBUF_LEN (512) // Backbuffer size (in lines) typedef struct _nn_user_t @@ -75,12 +75,12 @@ typedef struct { - qringbuf_t *data; /* "Backbuffer" data for this window */ - int pos; /* Current position in the window, 0 = real time */ + qringbuf_t *data; // "Backbuffer" data for this window + int pos; // Current position in the window, 0 = real time BOOL dirty; - char *id; /* Chatter ID, NULL = main window */ - int num; /* Window number */ + char *id; // Chatter ID, NULL = main window + int num; // Window number char *buf; size_t len, bufsize;