Skip to content

Commit 9d756f4

Browse files
Cleanup the bit sizes
1 parent baf0ee4 commit 9d756f4

1 file changed

Lines changed: 6 additions & 18 deletions

File tree

libc/c.ts

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,45 +5,33 @@ export type bool = boolean;
55

66
/**
77
* Signed char.
8-
*
9-
* @template _ Bit size.
108
*/
11-
export type char<_ = 8> = number;
9+
export type char = number;
1210

1311
/**
1412
* Unsigned char.
15-
*
16-
* @template _ Bit size.
1713
*/
18-
export type uchar<_ = 8> = number;
14+
export type uchar = number;
1915

2016
/**
2117
* Signed short.
22-
*
23-
* @template _ Bit size.
2418
*/
25-
export type short<_ = 16> = number;
19+
export type short = number;
2620

2721
/**
2822
* Unsigned short.
29-
*
30-
* @template _ Bit size.
3123
*/
32-
export type ushort<_ = 16> = number;
24+
export type ushort = number;
3325

3426
/**
3527
* Signed integer.
36-
*
37-
* @template _ Bit size.
3828
*/
39-
export type int<_ = 32> = number;
29+
export type int = number;
4030

4131
/**
4232
* Unsigned integer.
43-
*
44-
* @template _ Bit size.
4533
*/
46-
export type uint<_ = 32> = number;
34+
export type uint = number;
4735

4836
/**
4937
* Floating point.

0 commit comments

Comments
 (0)