Преглед на файлове

Export UA_encodeBinary to allow custom datatypes until we fix #1914

Stefan Profanter преди 6 години
родител
ревизия
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,