From ef5f78ecc7a6a7aac04207d3733087db8d03f5a6 Mon Sep 17 00:00:00 2001 From: Joerg Mueller Date: Sun, 5 Jun 2011 22:06:29 +0000 Subject: 3D Audio GSoC: Making it possible to access blenders internal sounds via Python. --- intern/audaspace/Python/AUD_PyAPI.cpp | 6 ++++++ intern/audaspace/Python/AUD_PyAPI.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'intern/audaspace/Python') diff --git a/intern/audaspace/Python/AUD_PyAPI.cpp b/intern/audaspace/Python/AUD_PyAPI.cpp index 53dfedee5eb..ac25ab34a69 100644 --- a/intern/audaspace/Python/AUD_PyAPI.cpp +++ b/intern/audaspace/Python/AUD_PyAPI.cpp @@ -2875,6 +2875,12 @@ Device_empty() return DeviceType.tp_alloc(&DeviceType, 0); } +PyObject * +Factory_empty() +{ + return FactoryType.tp_alloc(&FactoryType, 0); +} + // ==================================================================== PyDoc_STRVAR(M_aud_doc, diff --git a/intern/audaspace/Python/AUD_PyAPI.h b/intern/audaspace/Python/AUD_PyAPI.h index d1a70ce892d..97e1e63b6eb 100644 --- a/intern/audaspace/Python/AUD_PyAPI.h +++ b/intern/audaspace/Python/AUD_PyAPI.h @@ -66,8 +66,8 @@ typedef struct { PyMODINIT_FUNC PyInit_aud(void); -extern PyObject * -Device_empty(); +extern PyObject* Device_empty(); +extern PyObject* Factory_empty(); #ifdef __cplusplus } -- cgit v1.2.3