This commit is contained in:
parent
8c8b5d313a
commit
121dd44429
1 changed files with 7 additions and 6 deletions
13
kyaa.md
13
kyaa.md
|
@ -7,15 +7,16 @@ super hacky macro hacks for parsing arguments in C.
|
||||||
C99 or greater.
|
C99 or greater.
|
||||||
|
|
||||||
standard library headers:
|
standard library headers:
|
||||||
* errno.h
|
* `errno.h`
|
||||||
* stdbool.h
|
* `stdbool.h`
|
||||||
* stdio.h
|
* `stdio.h`
|
||||||
* string.h
|
* `string.h`
|
||||||
|
* `stdlib.h`
|
||||||
|
|
||||||
## tutorial/API
|
## tutorial/API
|
||||||
|
|
||||||
ensure argc and argv are defined.
|
ensure `argc` and `argv` are defined.
|
||||||
kyaa doesn't actually care if it's in main() or not.
|
kyaa doesn't actually care if it's in `main` or not.
|
||||||
|
|
||||||
iterate over the arguments with `KYAA_LOOP`:
|
iterate over the arguments with `KYAA_LOOP`:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue