mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-06 16:56:00 +00:00
![Pauli Virtanen](/assets/img/avatar_default.png)
Make Doxygen data structure etc. lists less cluttered by hiding non-public stuff. Add a Doxygen input filter that marks symbols declared in C files private, so that they won't appear in the output unless the symbol is also declared in a header. The "spa static inline" hack is then also not needed any more.
11 lines
299 B
Bash
Executable file
11 lines
299 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# Doxygen input filter that adds \privatesection to all files,
|
|
# and removes macros.
|
|
#
|
|
# This is used for .c files, and causes Doxygen to not include
|
|
# any symbols from them, unless they also appeared in a header file.
|
|
#
|
|
echo -n "/** \privatesection */ "
|
|
sed -e 's/#define.*//' < "$1"
|