Commit graph

221 commits

Author SHA1 Message Date
David Tolnay
58824ef3b3
Clean up COPY macro implementation 2022-07-23 01:10:49 -07:00
David Tolnay
0358f5b077
Reduce integer casting in macros 2022-07-23 01:10:49 -07:00
David Tolnay
924ba2d634
Simplify MOVE macro 2022-07-23 01:10:48 -07:00
David Tolnay
c5de022daa
Replace NULL_STRING macro with const 2022-07-23 01:10:47 -07:00
David Tolnay
e245fc53a8
Remove yaml_char_t conversion from CHECK args 2022-07-23 01:10:43 -07:00
David Tolnay
c52336a746
Delete unused macros 2022-07-23 01:09:56 -07:00
David Tolnay
e7ea1987ba
Clean up yaml_char_t casts 2022-07-23 01:09:53 -07:00
David Tolnay
049c8c1f6a
Factor out CHECK macro 2022-07-23 01:09:29 -07:00
David Tolnay
2e94cd3bdb
Factor out CHECK_AT macro 2022-07-22 19:03:36 -07:00
David Tolnay
d9917668b4
Factor out WIDTH macro 2022-07-22 18:37:14 -07:00
David Tolnay
440e55a6af
Factor out WIDTH_AT macro 2022-07-22 18:32:04 -07:00
David Tolnay
5305f1811a
Factor out IS_SPACE_AT macro 2022-07-22 18:30:00 -07:00
David Tolnay
fe99a3a5e1
Factor out IS_SPACE macro 2022-07-22 18:27:25 -07:00
David Tolnay
7415f3bfdf
Factor out IS_Z macro 2022-07-22 18:23:23 -07:00
David Tolnay
531dbb76e6
Factor out IS_BOM macro 2022-07-22 18:19:56 -07:00
David Tolnay
6893ddc2b0
Factor out IS_TAB macro 2022-07-22 18:17:47 -07:00
David Tolnay
c0143fb033
Factor out IS_CRLF macro 2022-07-22 18:14:39 -07:00
David Tolnay
76c4b57280
Factor out IS_BREAK_AT macro 2022-07-22 18:12:16 -07:00
David Tolnay
048e47b1c5
Factor out IS_BREAK macro 2022-07-22 18:11:43 -07:00
David Tolnay
5281c57de4
Factor out IS_BREAKZ macro 2022-07-22 17:47:34 -07:00
David Tolnay
a1469c85c2
Factor out IS_PRINTABLE macro 2022-07-22 17:39:55 -07:00
David Tolnay
7b299dfb83
Factor out IS_ASCII macro 2022-07-22 17:37:42 -07:00
David Tolnay
c968eba61d
Factor out AS_HEX_AT macro 2022-07-22 17:34:39 -07:00
David Tolnay
3c60f9818c
Factor out IS_HEX_AT macro 2022-07-22 17:30:22 -07:00
David Tolnay
e776070311
Factor out AS_DIGIT macro 2022-07-22 17:26:29 -07:00
David Tolnay
ff255cac45
Factor out IS_DIGIT macro 2022-07-22 17:24:23 -07:00
David Tolnay
64b1340f82
Factor out IS_ALPHA macro 2022-07-22 17:20:57 -07:00
David Tolnay
8d296adca8
Factor out STACK_LIMIT macro 2022-07-22 17:13:25 -07:00
David Tolnay
929613027b
Factor out STACK_EMPTY macro 2022-07-22 17:07:14 -07:00
David Tolnay
c4448a4c90
Factor out QUEUE_EMPTY macro 2022-07-22 17:00:18 -07:00
David Tolnay
268489873b
Factor out POP macro 2022-07-22 16:56:00 -07:00
David Tolnay
4ace40883b
Factor out QUEUE_DEL macro 2022-07-22 15:30:05 -07:00
David Tolnay
ee70411948
Factor out STACK_DEL macro 2022-07-22 15:27:04 -07:00
David Tolnay
8974a256ed
Factor out QUEUE_INIT macro 2022-07-22 15:12:32 -07:00
David Tolnay
53fa781673
Factor out STACK_INIT macro 2022-07-22 15:06:55 -07:00
David Tolnay
4af3513623
Factor out DEQUEUE macro 2022-07-22 14:36:25 -07:00
David Tolnay
fa767c4aa4
Factor out ENQUEUE macro 2022-07-22 14:29:04 -07:00
David Tolnay
5afb38d880
Factor out QUEUE_INSERT macro 2022-07-22 00:59:23 -07:00
David Tolnay
ff49ac0839
Factor out PUSH macro 2022-07-22 00:46:54 -07:00
David Tolnay
a264646525
Add stubs for the remaining macros 2022-07-21 23:57:24 -07:00
David Tolnay
54d401ddb8
Factor out JOIN macro 2022-07-21 23:28:31 -07:00
David Tolnay
b32d498737
Factor out CLEAR macro 2022-07-21 23:22:22 -07:00
David Tolnay
0f5f82d78e
Factor out STRING_EXTEND macro 2022-07-21 23:11:44 -07:00
David Tolnay
f04353a4ab
Factor out STRING_DEL macro 2022-07-21 23:03:32 -07:00
David Tolnay
9825fdc89c
Delete $context arg from BUFFER_DEL 2022-07-21 22:58:38 -07:00
David Tolnay
5e34c9b8b2
Factor out STRING_INIT macro 2022-07-21 22:56:10 -07:00
David Tolnay
d6d472a116
Factor out STRING_ASSIGN macro 2022-07-21 22:47:38 -07:00
David Tolnay
898ff4eaa3
Factor out BUFFER_DEL macro 2022-07-21 22:37:36 -07:00
David Tolnay
5fa3d59328
Factor out BUFFER_INIT macro 2022-07-21 22:32:13 -07:00
David Tolnay
7610b012d7
Factor out buffer size constants 2022-07-21 22:28:21 -07:00