forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitee0e274
committed
Code review for simplehash.h.
Fix reference to non-existent file in comment.Add SH_ prefix to the EMPTY and IN_USE tokens, to reduce likelihood ofcollisions with unrelated macros.Add include guards around the function definitions that are not"parameterized", so the header can be used again in the same translationunit.Undefine SH_EQUAL macro where other "parameter" macros are undefined, forthe same reason.Author: Thomas MunroReviewed-by: Tom LaneDiscussion:https://postgr.es/m/CAEepm%3D1LdXZ3mMTM8tHt_b%3DK1kREit%3Dp8sikesak%3DkzHHM07Nw%40mail.gmail.com1 parent7a3b7bb commitee0e274
1 file changed
+16
-3
lines changedLines changed: 16 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
69 |
| - | |
| 68 | + | |
| 69 | + | |
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
| |||
185 | 185 |
| |
186 | 186 |
| |
187 | 187 |
| |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
188 | 198 |
| |
189 | 199 |
| |
190 | 200 |
| |
| |||
206 | 216 |
| |
207 | 217 |
| |
208 | 218 |
| |
| 219 | + | |
| 220 | + | |
209 | 221 |
| |
210 | 222 |
| |
211 | 223 |
| |
| |||
924 | 936 |
| |
925 | 937 |
| |
926 | 938 |
| |
| 939 | + | |
927 | 940 |
| |
928 | 941 |
| |
929 | 942 |
| |
|
0 commit comments
Comments
(0)