Procházet zdrojové kódy

remove obsolete memberstruct definition

Julius Pfrommer před 7 roky
rodič
revize
fadd1dd09d
1 změnil soubory, kde provedl 1 přidání a 8 odebrání
  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;