ua_util.c 466 B

1234567891011121314
  1. #include "ua_util.h"
  2. /* the extern inline in a *.c-file is required for other compilation units to
  3. see the inline function. */
  4. extern INLINE void UA_memcpy(void *dst, void const *src, UA_Int32 size);
  5. #ifdef DEBUG
  6. extern INLINE void _UA_free(void *ptr, char *pname, char *f, UA_Int32 l);
  7. extern INLINE void * _UA_alloc(UA_Int32 size, char *file, UA_Int32 line);
  8. #else
  9. extern INLINE void _UA_free(void *ptr);
  10. extern INLINE void * _UA_alloc(UA_Int32 size);
  11. #endif