summaryrefslogtreecommitdiff
path: root/third_party/g7221/common/config.h
blob: 925a1dae5310185863c639be6722384f1bfa8fed (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
#ifndef __LIBG7221_CONFIG_H__
#define __LIBG7221_CONFIG_H__

#include <pj/config.h>

/**
 * Expand basic operation functions as inline.
 *
 * Default: 1 (yes)
 */
#ifndef PJMEDIA_LIBG7221_FUNCS_INLINED
#   define PJMEDIA_LIBG7221_FUNCS_INLINED   1
#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__ */