* add C++ mangling protection
This commit was SVN r6925.
Этот коммит содержится в:
родитель
4da11a4851
Коммит
10339416e4
@ -19,6 +19,10 @@
|
|||||||
#ifndef OPAL_H
|
#ifndef OPAL_H
|
||||||
#define OPAL_H
|
#define OPAL_H
|
||||||
|
|
||||||
|
#if defined(c_plusplus) || defined(__cplusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the OPAL utilities
|
* Initialize the OPAL utilities
|
||||||
*
|
*
|
||||||
@ -39,4 +43,8 @@ int opal_init(void);
|
|||||||
*/
|
*/
|
||||||
int opal_finalize(void);
|
int opal_finalize(void);
|
||||||
|
|
||||||
|
#if defined(c_plusplus) || defined(__cplusplus)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user