diff options
author | Thiago Farina <tfransosi@gmail.com> | 2010-11-06 14:09:44 -0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-11-06 09:21:41 -0700 |
commit | 6ceea8ba9b06c89cd0fd8342f9248d5ca2ff7563 (patch) | |
tree | 6914d3132553b0d1ccc36a023b91d90524ea6fe5 /estruct.h | |
parent | fa57a63d574dc9f3d2274cfb93e47499c8745c9e (diff) | |
download | uemacs-6ceea8ba9b06c89cd0fd8342f9248d5ca2ff7563.tar.gz |
uemacs: convert typedef struct VDESC to struct variable_description.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'estruct.h')
-rw-r--r-- | estruct.h | 44 |
1 files changed, 20 insertions, 24 deletions
@@ -594,35 +594,31 @@ struct name_bind { int (*n_func)(int, int); /* function name is bound to */ }; -/* The editor holds deleted text chunks in the struct kill buffer. The - kill buffer is logically a stream of ascii characters, however - due to its unpredicatable size, it gets implemented as a linked - list of chunks. (The d_ prefix is for "deleted" text, as k_ - was taken up by the keycode structure) -*/ - +/* The editor holds deleted text chunks in the struct kill buffer. The + * kill buffer is logically a stream of ascii characters, however + * due to its unpredicatable size, it gets implemented as a linked + * list of chunks. (The d_ prefix is for "deleted" text, as k_ + * was taken up by the keycode structure). + */ struct kill { - struct kill *d_next; /* link to next chunk, NULL if last */ - char d_chunk[KBLOCK]; /* deleted text */ + struct kill *d_next; /* Link to next chunk, NULL if last. */ + char d_chunk[KBLOCK]; /* Deleted text. */ }; -/* When emacs' command interpetor needs to get a variable's name, - rather than it's value, it is passed back as a VDESC variable - description structure. The v_num field is a index into the - appropriate variable table. -*/ - -typedef struct VDESC { - int v_type; /* type of variable */ - int v_num; /* ordinal pointer to variable in list */ -} VDESC; +/* When emacs' command interpetor needs to get a variable's name, + * rather than it's value, it is passed back as a variable description + * structure. The v_num field is a index into the appropriate variable table. + */ +struct variable_description { + int v_type; /* Type of variable. */ + int v_num; /* Ordinal pointer to variable in list. */ +}; -/* The !WHILE directive in the execution language needs to - stack references to pending whiles. These are stored linked - to each currently open procedure via a linked list of - the following structure +/* The !WHILE directive in the execution language needs to + * stack references to pending whiles. These are stored linked + * to each currently open procedure via a linked list of + * the following structure. */ - struct while_block { struct line *w_begin; /* ptr to !while statement */ struct line *w_end; /* ptr to the !endwhile statement */ |