Explicitly disallow preprocessor #if

This commit is contained in:
Joost Rijneveld 2019-04-09 11:17:54 +02:00
부모 0d24eb1f15
커밋 4bf6810c9a
No known key found for this signature in database
GPG 키 ID: A4FE39CF49CBC553
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@ -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

파일 보기

@ -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`