diff --git a/include/open62541/types.h b/include/open62541/types.h index 6374480a33f..9ea3c3c38bb 100644 --- a/include/open62541/types.h +++ b/include/open62541/types.h @@ -1067,7 +1067,7 @@ typedef struct UA_DataTypeArray { * If the member is an array, the offset points to the (size_t) length field. * (The array pointer comes after the length field without any padding.) */ #ifdef UA_ENABLE_TYPEDESCRIPTION -UA_Boolean +UA_Boolean UA_EXPORT UA_DataType_getStructMember(const UA_DataType *type, const char *memberName, size_t *outOffset, @@ -1078,12 +1078,12 @@ UA_DataType_getStructMember(const UA_DataType *type, /* Test if the data type is a numeric builtin data type (via the typeKind field * of UA_DataType). This includes integers and floating point numbers. Not * included are Boolean, DateTime, StatusCode and Enums. */ -UA_Boolean +UA_Boolean UA_EXPORT UA_DataType_isNumeric(const UA_DataType *type); /* Return the Data Type Precedence-Rank defined in Part 4. * If there is no Precedence-Rank assigned with the type -1 is returned.*/ -UA_Int16 +UA_Int16 UA_EXPORT UA_DataType_getPrecedence(const UA_DataType *type); /** diff --git a/src/ua_types.c b/src/ua_types.c index ea5d3ca27af..c2c14cccac0 100644 --- a/src/ua_types.c +++ b/src/ua_types.c @@ -1850,7 +1850,7 @@ UA_Array_append(void **p, size_t *size, void *newElem, return UA_STATUSCODE_GOOD; } -UA_StatusCode UA_EXPORT +UA_StatusCode UA_Array_appendCopy(void **p, size_t *size, const void *newElem, const UA_DataType *type) { char scratch[512]; @@ -1882,7 +1882,7 @@ UA_Array_delete(void *p, size_t size, const UA_DataType *type) { } #ifdef UA_ENABLE_TYPEDESCRIPTION -UA_Boolean UA_EXPORT +UA_Boolean UA_DataType_getStructMember(const UA_DataType *type, const char *memberName, size_t *outOffset, const UA_DataType **outMemberType, UA_Boolean *outIsArray) {