Move the declaration up into the C_DECLS protected area (needed for
ompi_info). This commit was SVN r5465.
Этот коммит содержится в:
родитель
776d3c02c9
Коммит
191f8b2781
@ -339,6 +339,17 @@ OMPI_DECLSPEC OBJ_CLASS_DECLARATION(ompi_object_t);
|
||||
*/
|
||||
OMPI_DECLSPEC void ompi_class_initialize(ompi_class_t *);
|
||||
|
||||
/**
|
||||
* Shut down the class system and release all memory
|
||||
*
|
||||
* This function should be invoked as the ABSOLUTE LAST function to
|
||||
* use the class subsystem. It frees all associated memory with ALL
|
||||
* classes, rendering all of them inoperable. It is here so that
|
||||
* tools like valgrind and purify don't report still-reachable memory
|
||||
* upon process termination.
|
||||
*/
|
||||
int ompi_class_finalize(void);
|
||||
|
||||
END_C_DECLS
|
||||
/**
|
||||
* Run the hierarchy of class constructors for this object, in a
|
||||
@ -440,18 +451,6 @@ static inline int ompi_obj_update(ompi_object_t *object, int inc)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Shut down the class system and release all memory
|
||||
*
|
||||
* This function should be invoked as the ABSOLUTE LAST function to
|
||||
* use the class subsystem. It frees all associated memory with ALL
|
||||
* classes, rendering all of them inoperable. It is here so that
|
||||
* tools like valgrind and purify don't report still-reachable memory
|
||||
* upon process termination.
|
||||
*/
|
||||
int ompi_class_finalize(void);
|
||||
|
||||
|
||||
/**********************************************************************/
|
||||
|
||||
#endif /* OMPI_OBJECT_H */
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user