|
@@ -4,6 +4,7 @@
|
|
#include <stdio.h> // printf
|
|
#include <stdio.h> // printf
|
|
#include <stdlib.h> // malloc, free
|
|
#include <stdlib.h> // malloc, free
|
|
#include <string.h> // memcpy
|
|
#include <string.h> // memcpy
|
|
|
|
+#include <assert.h> // assert
|
|
#include "ua_types.h"
|
|
#include "ua_types.h"
|
|
|
|
|
|
/* Debug macros */
|
|
/* Debug macros */
|
|
@@ -35,4 +36,6 @@ UA_Int32 UA_VTable_isValidType(UA_Int32 type);
|
|
#define UA_free(ptr) _UA_free(ptr, # ptr, __FILE__, __LINE__)
|
|
#define UA_free(ptr) _UA_free(ptr, # ptr, __FILE__, __LINE__)
|
|
#define UA_alloc(ptr, size) _UA_alloc(ptr, size, # ptr, # size, __FILE__, __LINE__)
|
|
#define UA_alloc(ptr, size) _UA_alloc(ptr, size, # ptr, # size, __FILE__, __LINE__)
|
|
|
|
|
|
|
|
+#define UA_assert(ignore) assert(ignore)
|
|
|
|
+
|
|
#endif /* UA_UTILITY_H_ */
|
|
#endif /* UA_UTILITY_H_ */
|