diff options
author | Adrian Thurston <thurston@complang.org> | 2012-12-30 14:51:38 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2012-12-30 14:51:38 -0500 |
commit | 14bffe74e4041e6c62606f68affefb8e1719fdab (patch) | |
tree | ea31cee188e822ea59070f55eb02d86c31836fa4 /colm/input.h | |
parent | 907d7d0349c5f59419ba01bf7382825166feca5a (diff) | |
download | colm-14bffe74e4041e6c62606f68affefb8e1719fdab.tar.gz |
improved variable naming
SourceStream was derived from InputStream and a number of SourceStream pointers
were named is. Changed to ss.
Diffstat (limited to 'colm/input.h')
-rw-r--r-- | colm/input.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/colm/input.h b/colm/input.h index a7f4a6a9..01601cfe 100644 --- a/colm/input.h +++ b/colm/input.h @@ -88,16 +88,16 @@ typedef struct _SourceStream SourceStream; struct SourceFuncs { /* Data. */ - int (*getData)( SourceStream *is, int offset, char *dest, int length, int *copied ); - int (*consumeData)( SourceStream *is, int length ); - int (*undoConsumeData)( SourceStream *is, const char *data, int length ); + int (*getData)( SourceStream *ss, int offset, char *dest, int length, int *copied ); + int (*consumeData)( SourceStream *ss, int length ); + int (*undoConsumeData)( SourceStream *ss, const char *data, int length ); /* Language elments (compile-time). */ - struct LangEl *(*consumeLangEl)( SourceStream *is, long *bindId, char **data, long *length ); - void (*undoConsumeLangEl)( SourceStream *is ); + struct LangEl *(*consumeLangEl)( SourceStream *ss, long *bindId, char **data, long *length ); + void (*undoConsumeLangEl)( SourceStream *ss ); /* Private implmentation for some shared get data functions. */ - int (*getDataImpl)( SourceStream *is, char *dest, int length ); + int (*getDataImpl)( SourceStream *ss, char *dest, int length ); }; /* Implements a single source of input data such as a file, string, pattern. |