Explicitly disallow preprocessor #if

This commit is contained in:
Joost Rijneveld 2019-04-09 11:17:54 +02:00
parent 0d24eb1f15
commit 4bf6810c9a
No known key found for this signature in database
GPG Key ID: A4FE39CF49CBC553
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
#### Manually checked properties #### Manually checked properties
<!-- These checkboxes serve for the maintainers of PQClean to verify your submission. Please do not check them yourself. --> <!-- These checkboxes serve for the maintainers of PQClean to verify your submission. Please do not check them yourself. -->
* [ ] `#ifdef`s only for header encapsulation * [ ] `#if`/`#ifdef`s only for header encapsulation
* [ ] `api.h` does not include other files * [ ] `api.h` does not include other files
* [ ] No stringification macros * [ ] No stringification macros
* [ ] Output-parameter pointers in functions are on the left * [ ] Output-parameter pointers in functions are on the left

View File

@ -65,7 +65,7 @@ _The checking of items on this list is still being developed. Checked items shou
## Requirements on C implementations that are manually checked ## Requirements on C implementations that are manually checked
* Minimalist Makefiles * Minimalist Makefiles
* `#ifdef`s only for header encapsulation * `#if`/`#ifdef`s only for header encapsulation
* No stringification macros * No stringification macros
* Output-parameter pointers in functions are on the left * Output-parameter pointers in functions are on the left
* `const` arguments are labeled as `const` * `const` arguments are labeled as `const`