[parser] No functions in the output from `raymath.h`
KislyjKisel opened this issue · comments
Please, before submitting a new issue verify and check:
- I tested it on latest raylib version from master branch
- I checked there is no similar issue already reported
- I checked the documentation on the wiki
- My code has no errors or misuse of raylib
Issue description
raylib_parser --input ../src/raymath.h
produces raymath_api.txt
with Functions found: 0
. It works as expected with raylib.h
.
Not a bug. Check what the makefile in parser/ does:
Lines 18 to 19 in 52f2a10
in particular:
-d RMAPI
You need to tell the parser which macro each line begins with.
Just run make EXTENSION=txt raymath_api.txt
in that directory if you want a setup that for sure works.
or make EXTENSION=json FORMAT=JSON raymath_api.json
and so on.
It works, thank you. Perhaps the command line example can be updated to include -d RMAPI
?
Nice catch, agreed.
That help text is definitely wrong. I'll handle it.