Blender V4.3
AUD_PyInit.cpp File Reference
#include "AUD_PyInit.h"
#include <AUD_Sound.h>
#include <python/PyAPI.h>
#include <python/PySound.h>

Go to the source code of this file.

Functions

void * BKE_sound_get_factory (void *sound)
 
static PyObject * AUD_getSoundFromPointer (PyObject *self, PyObject *args)
 
PyObject * AUD_initPython (void)
 

Variables

static PyMethodDef meth_sound_from_pointer []
 

Function Documentation

◆ AUD_getSoundFromPointer()

static PyObject * AUD_getSoundFromPointer ( PyObject * self,
PyObject * args )
static

Definition at line 19 of file AUD_PyInit.cpp.

References BKE_sound_get_factory(), and NULL.

◆ AUD_initPython()

PyObject * AUD_initPython ( void )

Definition at line 51 of file AUD_PyInit.cpp.

References meth_sound_from_pointer, module, NULL, and printf.

◆ BKE_sound_get_factory()

void * BKE_sound_get_factory ( void * sound)
extern

Referenced by AUD_getSoundFromPointer().

Variable Documentation

◆ meth_sound_from_pointer

PyMethodDef meth_sound_from_pointer[]
static
Initial value:
= {
{"_sound_from_pointer",
METH_O,
"_sound_from_pointer(pointer)\n\n"
"Returns the corresponding :class:`Factory` object.\n\n"
":arg pointer: The pointer to the bSound object as long.\n"
":type pointer: long\n"
":return: The corresponding :class:`Factory` object.\n"
":rtype: :class:`Factory`"}}
static PyObject * AUD_getSoundFromPointer(PyObject *self, PyObject *args)

Definition at line 40 of file AUD_PyInit.cpp.

Referenced by AUD_initPython().