|
@@ -378,11 +378,11 @@ UA_Boolean UA_EXPORT UA_NodeId_isNull(const UA_NodeId *p);
|
|
|
|
|
|
/* ExpandedNodeId */
|
|
|
UA_Boolean UA_EXPORT UA_ExpandedNodeId_isNull(const UA_ExpandedNodeId *p);
|
|
|
-#define UA_EXPANDEDNODEID_STATIC(NUMERICID, NAMESPACE) \
|
|
|
- (UA_ExpandedNodeId){.nodeId = {.namespaceIndex = NAMESPACE, .identifierType = UA_NODEIDTYPE_NUMERIC, \
|
|
|
- .identifier.numeric = NUMERICID}, \
|
|
|
- .serverIndex = 0, .namespaceUri = {.length = -1, .data = UA_NULL} }
|
|
|
-
|
|
|
+#define UA_EXPANDEDNODEID_STATIC(NAMESPACE, NUMERICID) (UA_ExpandedNodeId) { \
|
|
|
+ .nodeId = {.namespaceIndex = NAMESPACE, .identifierType = UA_NODEIDTYPE_NUMERIC, \
|
|
|
+ .identifier.numeric = NUMERICID }, \
|
|
|
+ .serverIndex = 0, .namespaceUri = {.length = -1, .data = UA_NULL} }
|
|
|
+
|
|
|
/* QualifiedName */
|
|
|
UA_StatusCode UA_EXPORT UA_QualifiedName_copycstring(char const *src, UA_QualifiedName *dst);
|
|
|
#define UA_QUALIFIEDNAME_ASSIGN(VARIABLE, STRING) do { \
|