ソースを参照

Export UA_encodeBinary to allow custom datatypes until we fix #1914

Stefan Profanter 5 年 前
コミット
0666b4e380
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  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,