[xiph-cvs] cvs commit: ogg-python2/include/pyogg pyogg2.h
Arc
arc at xiph.org
Sat Nov 29 06:50:59 PST 2003
arc 03/11/29 09:50:59
Added: include/pyogg pyogg2.h
Log:
Alpha 0; forgot this one
Revision Changes Path
1.1 ogg-python2/include/pyogg/pyogg2.h
Index: pyogg2.h
===================================================================
#ifndef __PYOGG_H__
#define __PYOGG_H__
#include <Python.h>
#include <ogg2/ogg.h>
/* The struct to hold everything we pass from the _ogg module
* to its submodules.
*/
typedef struct {
int version_major;
int version_minor;
PyTypeObject *PyOggPacket_Type;
PyTypeObject *PyOggStreamState_Type;
PyObject *PyOggError;
PyObject *(*PyOggPacket_From_Packet)(ogg_packet *packet);
int (*arg_to_int64)(PyObject *longobj, ogg_int64_t *val);
} ogg2_module_info;
/*
Function to convert Long Python objects into an ogg_int64 value.
Returns 0 on failure (a Python error will be set)
*/
int arg_to_int64(PyObject *longobj, ogg_int64_t *val);
#endif // __PYOGG_H__
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list