aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/include/erl_bits.hrl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-10-06 15:08:57 +0200
committerHans Bolinder <[email protected]>2015-10-08 15:09:28 +0200
commit3224c9b0b7022ccf2483af95f4efd8a6b6234f47 (patch)
treeb9811fdf7782a0847f1a5da787752616e865a365 /lib/stdlib/include/erl_bits.hrl
parent6e93fb788aebb9050da2166749b41ff54197e049 (diff)
downloadotp-3224c9b0b7022ccf2483af95f4efd8a6b6234f47.tar.gz
otp-3224c9b0b7022ccf2483af95f4efd8a6b6234f47.tar.bz2
otp-3224c9b0b7022ccf2483af95f4efd8a6b6234f47.zip
Update Kernel and STDLIB
Record field types have been modified due to commit 8ce35b2: "Take out automatic insertion of 'undefined' from typed record fields".
Diffstat (limited to 'lib/stdlib/include/erl_bits.hrl')
-rw-r--r--lib/stdlib/include/erl_bits.hrl10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/stdlib/include/erl_bits.hrl b/lib/stdlib/include/erl_bits.hrl
index 8405a55d55..2a54587a17 100644
--- a/lib/stdlib/include/erl_bits.hrl
+++ b/lib/stdlib/include/erl_bits.hrl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1999-2009. All Rights Reserved.
+%% Copyright Ericsson AB 1999-2015. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -26,10 +26,10 @@
-type bt_unit() :: 1..256.
-record(bittype, {
- type :: bt_type(),
- unit :: bt_unit(), %% element unit
- sign :: bt_sign(),
- endian :: bt_endian()
+ type :: bt_type() | 'undefined',
+ unit :: bt_unit() | 'undefined', %% element unit
+ sign :: bt_sign() | 'undefined',
+ endian :: bt_endian() | 'undefined'
}).
-record(bitdefault, {