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:
authorCampbell Barton <ideasman42@gmail.com>2007-01-07 02:44:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-01-07 02:44:56 +0300
commitb4bd6cc9db8fa65488f6a0ac729176e895edc9ec (patch)
tree0336fac00771a2b9287a3df687249201a6ee63cb /source/blender/python/api2_2x/Sound.h
parent78ae6dbfd24865be108355a9d027457dee8bcd8b (diff)
patch 5054, modifier docs addition.
Sound, Chech_SoundType function
Diffstat (limited to 'source/blender/python/api2_2x/Sound.h')
-rw-r--r--source/blender/python/api2_2x/Sound.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Sound.h b/source/blender/python/api2_2x/Sound.h
index fdebc67568f..97523d54ef8 100644
--- a/source/blender/python/api2_2x/Sound.h
+++ b/source/blender/python/api2_2x/Sound.h
@@ -36,6 +36,8 @@
#include <Python.h>
#include "DNA_sound_types.h"
+#define BPy_Sound_Check(v) ((v)->ob_type == &Sound_Type)
+
/*****************************************************************************/
/* Python BPy_Sound structure definition */
/*****************************************************************************/