repo.or.cz
/
xiph.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Recognizes if input is ogg or not.
[xiph.git]
/
ogg-python
/
src
/
pyoggsyncstate.h
blob
b9922c3f87a5d6190ac577e2cf9ceaeecd7f0a2f
1
#ifndef PYOGGSYNCSTATE_H
2
#define PYOGGSYNCSTATE_H
3
4
#include <Python.h>
5
#include <ogg/ogg.h>
6
7
typedef
struct
{
8
PyObject_HEAD
9
ogg_sync_state os
;
10
}
py_ogg_sync_state
;
11
12
#define PY_OGG_SYNC_STATE(x) (&(((py_ogg_sync_state *) (x))->os))
13
14
extern
PyTypeObject py_ogg_sync_state_type
;
15
16
PyObject
*
py_ogg_sync_state_new
(
PyObject
*,
PyObject
*);
17
18
#endif