mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	utils: add SPA_EXPORT
This commit is contained in:
		
							parent
							
								
									baa6b1472d
								
							
						
					
					
						commit
						30da60ab6b
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -145,10 +145,12 @@ struct spa_fraction {
 | 
				
			||||||
#define SPA_PRINTF_FUNC(fmt, arg1) __attribute__((format(printf, fmt, arg1)))
 | 
					#define SPA_PRINTF_FUNC(fmt, arg1) __attribute__((format(printf, fmt, arg1)))
 | 
				
			||||||
#define SPA_ALIGNED(align) __attribute__((aligned(align)))
 | 
					#define SPA_ALIGNED(align) __attribute__((aligned(align)))
 | 
				
			||||||
#define SPA_DEPRECATED __attribute__ ((deprecated))
 | 
					#define SPA_DEPRECATED __attribute__ ((deprecated))
 | 
				
			||||||
 | 
					#define SPA_EXPORT __attribute__ ((visibility("default")))
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
#define SPA_PRINTF_FUNC(fmt, arg1)
 | 
					#define SPA_PRINTF_FUNC(fmt, arg1)
 | 
				
			||||||
#define SPA_ALIGNED(align)
 | 
					#define SPA_ALIGNED(align)
 | 
				
			||||||
#define SPA_DEPRECATED
 | 
					#define SPA_DEPRECATED
 | 
				
			||||||
 | 
					#define SPA_EXPORT
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define SPA_ROUND_DOWN_N(num,align)	((num) & ~((align) - 1))
 | 
					#define SPA_ROUND_DOWN_N(num,align)	((num) & ~((align) - 1))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue