cONNXr icon indicating copy to clipboard operation
cONNXr copied to clipboard

Add C++ ifdef inside header to disable mangling

Open nopeslide opened this issue 4 years ago • 0 comments

When integrating connxr in C++ we have to disable the C++ function mangling, so our c functions can be linked correctly. We would need to put all our prototypes or the complete header inside sth like

#ifdef __cplusplus
extern "C" {
#endif

...

#ifdef __cplusplus
}
#endif

nopeslide avatar Aug 09 '20 10:08 nopeslide