Explicitly disallow preprocessor #if

This commit is contained in:
Joost Rijneveld 2019-04-09 11:17:54 +02:00
parent 0d24eb1f15
commit 4bf6810c9a
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG: A4FE39CF49CBC553
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni

Vedi File

@ -6,7 +6,7 @@
#### Manually checked properties
<!-- 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
* [ ] No stringification macros
* [ ] Output-parameter pointers in functions are on the left

Vedi 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
* Minimalist Makefiles
* `#ifdef`s only for header encapsulation
* `#if`/`#ifdef`s only for header encapsulation
* No stringification macros
* Output-parameter pointers in functions are on the left
* `const` arguments are labeled as `const`