diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-07-31 06:46:18 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-07-31 06:46:18 -0700 |
commit | d9a0a4a147e016761ed29966246b347d0c8ef8bb (patch) | |
tree | 074f74f15f6078965518e8e8be973514c66ee2a8 /METALICENSE | |
parent | dbbfc2c41a3710bc64df7b477fcfa536da79233f (diff) | |
download | txr-d9a0a4a147e016761ed29966246b347d0c8ef8bb.tar.gz txr-d9a0a4a147e016761ed29966246b347d0c8ef8bb.tar.bz2 txr-d9a0a4a147e016761ed29966246b347d0c8ef8bb.zip |
Simplify type check code in stream module.
* stream.c (get_string_from_stream, get_list_from_stream,
stream_set_prop, stream_get_prop, close_stream, get_line,
get_char, get_byte, unget_char, unget_byte, put_string,
put_char, put_byte, flush_stream, seek_stream): Use cobj_handle and
cobj_ops instead of type_check and type_assert.
(get_indent_mode, test_set_indent_mode, set_indent_mode,
get_indent, set_indent, inc_indent, width_check): Use cobj_handle
and cobj_ops instead of stream->co.handle and stream->co.ops
for safety.
(vformat, format): Use class_check instead of type_check and
type_assert.
Diffstat (limited to 'METALICENSE')
0 files changed, 0 insertions, 0 deletions