Browse Source

Export UA_encodeBinary to allow custom datatypes until we fix #1914

Stefan Profanter 6 years ago
parent
commit
0666b4e380
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/ua_types_encoding_binary.h

+ 2 - 1
src/ua_types_encoding_binary.h

@@ -39,7 +39,8 @@ typedef UA_StatusCode (*UA_exchangeEncodeBuffer)(void *handle, UA_Byte **bufPos,
           Is ignored if NULL.
  * @param exchangeHandle Custom data passed into the exchangeCallback.
  * @return Returns a statuscode whether encoding succeeded. */
-UA_StatusCode
+//TODO remove UA_EXPORT after we fix issue #1914
+UA_StatusCode UA_EXPORT
 UA_encodeBinary(const void *src, const UA_DataType *type,
                 UA_Byte **bufPos, const UA_Byte **bufEnd,
                 UA_exchangeEncodeBuffer exchangeCallback,