Procházet zdrojové kódy

Export UA_encodeBinary to allow custom datatypes until we fix #1914

Stefan Profanter před 6 roky
rodič
revize
0666b4e380
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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,