Allow C++ linkage for the python module.

This commit is contained in:
2004-04-02 13:18:54 +00:00
parent 2ccb9cf785
commit 594040f769

View File

@@ -42,6 +42,9 @@ struct Script; /* defined in BPI_script.h */
/*
struct _object; // forward declaration for PyObject !
*/
#ifdef __cplusplus
extern "C" {
#endif
void BPY_start_python(void);
void BPY_end_python(void);
@@ -71,3 +74,7 @@ void BPY_free_finished_script(struct Script *script);
void init_syspath(void);
void syspath_append(char *dir);
#ifdef __cplusplus
} /* extern "C" */
#endif