blob: 4faec787d79753bddee3567150bd1663ec6df8a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef __LIBG7221_CONFIG_H__
#define __LIBG7221_CONFIG_H__
#include <pj/config.h>
/**
* Expand all basic operation functions as inline. Even if this is set to
* zero, some critical functions would still be expanded as inline. Note
* also that enabling this may generate some warning messages about functions
* not being referenced (with gcc).
*
* Default: 0 (no)
*/
#ifndef PJMEDIA_LIBG7221_FUNCS_INLINED
# define PJMEDIA_LIBG7221_FUNCS_INLINED 0
#endif
/* Declare/define a function that may be expanded as inline. */
#if PJMEDIA_LIBG7221_FUNCS_INLINED
# define LIBG7221_DECL(type) PJ_INLINE(type)
# define LIBG7221_DEF(type) PJ_INLINE(type)
#else
# define LIBG7221_DECL(type) PJ_DECL(type)
# define LIBG7221_DEF(type) PJ_DEF(type)
#endif
#endif /* __LIBG7221_CONFIG_H__ */
|