mirror of
https://gitea.psi.ch/ELOG/mxml.git
synced 2026-09-09 01:23:22 +00:00
Remove "extern C", use C++ linking
This commit is contained in:
parent
d38f63e76d
commit
2c3833710a
9
mxml.h
9
mxml.h
@ -78,11 +78,6 @@ typedef struct mxml_struct {
|
||||
|
||||
/*------------------------------------------------------------------*/
|
||||
|
||||
/* make functions callable from a C++ program */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef EXPRT
|
||||
#if defined(EXPORT_DLL)
|
||||
#define EXPRT __declspec(dllexport)
|
||||
@ -148,9 +143,5 @@ void mxml_free_tree(PMXML_NODE tree);
|
||||
void mxml_dirname(char* path);
|
||||
void mxml_basename(char *path);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _MXML_H_ */
|
||||
/*------------------------------------------------------------------*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user