Browse Source

remove obsolete memberstruct definition

Julius Pfrommer 7 years ago
parent
commit
fadd1dd09d
1 changed files with 1 additions and 8 deletions
  1. 1 8
      src/ua_util.h

+ 1 - 8
src/ua_util.h

@@ -18,13 +18,6 @@ extern "C" {
 /* BSD Queue Macros */
 #include "queue.h"
 
-/* C++ Access to datatypes defined inside structs (for queue.h) */
-#ifdef __cplusplus
-# define memberstruct(container,member) container::member
-#else
-# define memberstruct(container,member) member
-#endif
-
 /* container_of */
 #define container_of(ptr, type, member) \
     (type *)((uintptr_t)ptr - offsetof(type,member))
@@ -45,7 +38,7 @@ extern "C" {
 /* Integer Shortnames
  * ------------------
  * These are not exposed on the public API, since many user-applications make
- * the same in their headers. */
+ * the same definitions in their headers. */
 
 typedef UA_Byte u8;
 typedef UA_SByte i8;