diff options
author | Richard Carlsson <[email protected]> | 2016-11-15 18:49:39 +0100 |
---|---|---|
committer | Richard Carlsson <[email protected]> | 2016-11-29 10:30:44 +0100 |
commit | 9bb7aee366b04f6e8b6ea8491c0d7ebbdb304bb6 (patch) | |
tree | e554b890ac8191a13068f3839ab9e8608feabce7 /lib/kernel/src/disk_log.hrl | |
parent | 08d22e7658542279711753f3363299105bd669bb (diff) | |
download | otp-9bb7aee366b04f6e8b6ea8491c0d7ebbdb304bb6.tar.gz otp-9bb7aee366b04f6e8b6ea8491c0d7ebbdb304bb6.tar.bz2 otp-9bb7aee366b04f6e8b6ea8491c0d7ebbdb304bb6.zip |
Clarify that the type for disk log data is iodata()
Diffstat (limited to 'lib/kernel/src/disk_log.hrl')
-rw-r--r-- | lib/kernel/src/disk_log.hrl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/kernel/src/disk_log.hrl b/lib/kernel/src/disk_log.hrl index 3262d979ee..3cf8a3b3a2 100644 --- a/lib/kernel/src/disk_log.hrl +++ b/lib/kernel/src/disk_log.hrl @@ -54,11 +54,10 @@ %% Types -- alphabetically %%------------------------------------------------------------------------ --type dlog_byte() :: [dlog_byte()] | byte(). -type dlog_format() :: 'external' | 'internal'. -type dlog_format_type() :: 'halt_ext' | 'halt_int' | 'wrap_ext' | 'wrap_int'. -type dlog_head() :: 'none' | {'ok', binary()} | mfa(). --type dlog_head_opt() :: none | term() | binary() | [dlog_byte()]. +-type dlog_head_opt() :: none | term() | iodata(). -type log() :: term(). % XXX: refine -type dlog_mode() :: 'read_only' | 'read_write'. -type dlog_name() :: atom() | string(). |