config.h 800 B

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