diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-01-07 02:44:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-01-07 02:44:56 +0300 |
commit | b4bd6cc9db8fa65488f6a0ac729176e895edc9ec (patch) | |
tree | 0336fac00771a2b9287a3df687249201a6ee63cb /source/blender/python/api2_2x/Sound.h | |
parent | 78ae6dbfd24865be108355a9d027457dee8bcd8b (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.h | 2 |
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 */ /*****************************************************************************/ |