mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	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.
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			299 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			10 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"
 |