-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Description
I had a problem with linking the library together with cpp code.
The error:
undefined reference to /* some function */
I resolved it using the solution below.
Would it be possible to add this to the repo [include files]?
Or is there other solution that I just didn't see?
Possible solution
#ifdef __cplusplus
extern "C" {
#endif
/* header declarations */
#ifdef __cplusplus
}
#endifMetadata
Metadata
Assignees
Labels
No labels