File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 7
7
language : d
8
8
9
9
d :
10
- - dmd-2.071.0
10
+ - dmd-2.071.2
11
11
- dmd-2.070.2
12
12
- dmd-2.069.2
13
13
- dmd-2.068.2
17
17
18
18
matrix :
19
19
allow_failures :
20
- - ldc-1.0.0
20
+ - d : ldc-1.0.0
21
21
22
22
env :
23
23
matrix :
Original file line number Diff line number Diff line change @@ -1229,15 +1229,15 @@ private float halfToFloat(ushort half) @nogc
1229
1229
( half & 0x8000 ) << 16 // sign << ( 31 - 15 )
1230
1230
| ( exp | mant ) << 13 ) // value << ( 23 - 10 )
1231
1231
};
1232
- return f.f;
1232
+ return f.f;
1233
1233
}
1234
1234
1235
1235
// / Outputs textual representation of cbor stream into sink or stdout if not provided.
1236
- void printCborStream (string singleIndent=" " , R)(auto ref R input)
1236
+ void printCborStream (string singleIndent=" " , R)(auto ref R input, ulong numItems = ulong .max )
1237
1237
{
1238
1238
import std.stdio : stdout;
1239
1239
auto writer = stdout.lockingTextWriter;
1240
- printCborStream! singleIndent(input, writer);
1240
+ printCborStream! singleIndent(input, writer, numItems );
1241
1241
}
1242
1242
1243
1243
// / ditto
You can’t perform that action at this time.
0 commit comments