Skip to content

Commit

Permalink
Merge pull request #76 from matkonnerth/add_extern_c
Browse files Browse the repository at this point in the history
Add extern C to public header
  • Loading branch information
matkonnerth committed May 10, 2020
2 parents 187cab3 + b5c60a1 commit 8a4c6a8
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions backends/open62541/include/NodesetLoader/dataTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,16 @@
#define LOADER_EXPORT /* fallback to default */
#endif

#ifdef __cplusplus
extern "C" {
#endif

struct UA_Server;
LOADER_EXPORT const struct UA_DataType *getCustomDataType(struct UA_Server *server,
const UA_NodeId *typeId);
LOADER_EXPORT const struct UA_DataType *
getCustomDataType(struct UA_Server *server, const UA_NodeId *typeId);

#ifdef __cplusplus
}
#endif

#endif

0 comments on commit 8a4c6a8

Please sign in to comment.