Skip to content

Commit

Permalink
add extern "C" to iothub_client_properties.h (#2548)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwolz authored Dec 7, 2023
1 parent 4b530fb commit 40a62f6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions iothub_client/inc/iothub_client_properties.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@

#include "iothub_client_core_common.h"

#ifdef __cplusplus
extern "C"
{
#endif

/** @brief Current version of @p IOTHUB_CLIENT_PROPERTY_REPORTED structure. */
#define IOTHUB_CLIENT_PROPERTY_REPORTED_STRUCT_VERSION_1 1

Expand Down Expand Up @@ -289,4 +294,8 @@ MOCKABLE_FUNCTION(, void, IoTHubClient_Properties_DeserializerProperty_Destroy,
*/
MOCKABLE_FUNCTION(, void, IoTHubClient_Properties_Deserializer_Destroy, IOTHUB_CLIENT_PROPERTIES_DESERIALIZER_HANDLE, propertiesDeserializerHandle);

#ifdef __cplusplus
}
#endif

#endif /* IOTHUB_CLIENT_PROPERTIES_H */

0 comments on commit 40a62f6

Please sign in to comment.