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