summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-07-31 06:46:18 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-07-31 06:46:18 -0700
commitd9a0a4a147e016761ed29966246b347d0c8ef8bb (patch)
tree074f74f15f6078965518e8e8be973514c66ee2a8 /ChangeLog
parentdbbfc2c41a3710bc64df7b477fcfa536da79233f (diff)
downloadtxr-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 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 12269cf0..ddc7d65e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,22 @@
2015-07-31 Kaz Kylheku <kaz@kylheku.com>
+ 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.
+
+2015-07-31 Kaz Kylheku <kaz@kylheku.com>
+
Multi-line, indented printing of structure.
* eval.c (op_error): New static function.