1 #ifndef __VORBISMODULE_H__
2 #define __VORBISMODULE_H__
5 #include <pyogg/pyogg.h>
9 ogg_module_info
*modinfo
;
11 PyObject
*Py_VorbisError
;
13 /* Object docstrings */
15 extern char py_vorbisfile_doc
[];
16 extern char py_vinfo_doc
[];
17 extern char py_vcomment_doc
[];
18 extern char py_dsp_doc
[];
20 /* Utility functions/macros */
22 PyObject
*v_error_from_code(int, char*);
24 #define RETURN_IF_VAL(val, msg) if (val < 0) { \
25 return v_error_from_code(val, msg); \
31 #endif /* __VORBISMODULE_H__ */