Commit a8f9ccc
committed
Fix macro typo: MLK_INTERNAL_API => MLD_INTERNAL_API
- This commit fixes a error cause by macro typo in .clang-format where MLK_INTERNAL_API
should be MLD_INTERNAL_API. This typo was detected after extending the
macro checker to catch wrongly ported MLK_XXX/MLKEM_XXX macros.
- The typo fix causes clang-format to reformat some files (packing.h and
polyvec.h) by changing macro order from:
MLD_MUST_CHECK_RETURN_VALUE
MLD_INTERNAL_API
to:
MLD_MUST_CHECK_RETURN_VALUE MLD_INTERNAL_API
- This reordering is the wrong, and it is because the order of these two macor,
after referece from mlkem-native, we switch the macro order from:
MLD_MUST_CHECK_RETURN_VALUE
MLD_INTERNAL_API
to:
MLD_INTERNAL_API
MLD_MUST_CHECK_RETURN_VALUE
This is correct formatting behavior and matches the mlkem-native convention.
Signed-off-by: willieyz <[email protected]>1 parent cf02a49 commit a8f9ccc
3 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | 186 | | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
220 | 219 | | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
428 | 427 | | |
| 428 | + | |
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
517 | | - | |
518 | 517 | | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| |||
0 commit comments