Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/audaspace/Python/AUD_PyAPI.h')
-rw-r--r--intern/audaspace/Python/AUD_PyAPI.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/intern/audaspace/Python/AUD_PyAPI.h b/intern/audaspace/Python/AUD_PyAPI.h
index 6e217b07213..e234ad4dded 100644
--- a/intern/audaspace/Python/AUD_PyAPI.h
+++ b/intern/audaspace/Python/AUD_PyAPI.h
@@ -36,35 +36,38 @@
#ifdef __cplusplus
extern "C" {
-#include "AUD_IDevice.h"
#else
typedef void AUD_IFactory;
typedef void AUD_IDevice;
-typedef void AUD_Handle;
+typedef void AUD_IHandle;
#endif
+typedef void AUD_Reference_AUD_IFactory;
+typedef void AUD_Reference_AUD_IDevice;
+typedef void AUD_Reference_AUD_IHandle;
+
typedef struct {
PyObject_HEAD
PyObject* child_list;
- AUD_IFactory* factory;
+ AUD_Reference_AUD_IFactory* factory;
} Factory;
typedef struct {
PyObject_HEAD
- AUD_Handle* handle;
- PyObject* device;
+ AUD_Reference_AUD_IHandle* handle;
} Handle;
typedef struct {
PyObject_HEAD
- AUD_IDevice* device;
+ AUD_Reference_AUD_IDevice* device;
} Device;
PyMODINIT_FUNC
PyInit_aud(void);
-extern PyObject *
-Device_empty();
+extern PyObject* Device_empty();
+extern PyObject* Factory_empty();
+extern Factory* checkFactory(PyObject* factory);
#ifdef __cplusplus
}