Blender  V3.3
Functions | Variables
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

voidBKE_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 18 of file AUD_PyInit.cpp.

References BKE_sound_get_factory(), and NULL.

◆ AUD_initPython()

PyObject* AUD_initPython ( void  )

Definition at line 50 of file AUD_PyInit.cpp.

References meth_sound_from_pointer, module, and NULL.

◆ BKE_sound_get_factory()

void* BKE_sound_get_factory ( void sound)

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: AUD_PyInit.cpp:18

Definition at line 39 of file AUD_PyInit.cpp.

Referenced by AUD_initPython().