diff options
author | Evan Benn <evanbenn@chromium.org> | 2022-04-28 12:36:53 +1000 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-05-06 01:00:37 +0000 |
commit | 1866deb06d775b9d006c1ef21c99f439677f0f76 (patch) | |
tree | 0c7cd17f7cb8eafa5eac97213554cd231a94eee0 /include/platform/swap.h | |
parent | 4557c503e7020d2f72772bebc00d5f7ef9ff8133 (diff) | |
download | flashrom-1866deb06d775b9d006c1ef21c99f439677f0f76.tar.gz flashrom-1866deb06d775b9d006c1ef21c99f439677f0f76.tar.bz2 flashrom-1866deb06d775b9d006c1ef21c99f439677f0f76.zip |
libflashrom: Move documentation to header
The doxygen documentation was in the libflashrom.c file. Move the
documentation to the libflashrom.h file. This allows foreign function
interface binding generators (eg rust bindgen) that operate on the .h
file to generate documentation for the target language. Some doxygen
errors were also corrected, mostly undocumented or wrongly labeled
parameters.
To test, I have diffed and inspected the doxygen documentation before
and after the change. All functions are documented the same, and the
structs and enums are now also included in the docs.
Change-Id: I856b74d5bfea13722539be15496755a95e701eea
Signed-off-by: Evan Benn <evanbenn@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/63903
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'include/platform/swap.h')
0 files changed, 0 insertions, 0 deletions