Author: ArcRiley
Date: 2007-07-03 18:16:16 -0400 (Tue, 03 Jul 2007)
New Revision: 328
Modified:
trunk/pysoy/include/ogg.pxd
Log:
fixing a few bugs
Modified: trunk/pysoy/include/ogg.pxd
===================================================================
--- trunk/pysoy/include/ogg.pxd 2007-07-03 09:23:41 UTC (rev 327)
+++ trunk/pysoy/include/ogg.pxd 2007-07-03 22:16:16 UTC (rev 328)
@@ -17,7 +17,7 @@
#
# $Id$
-extern cdef from "ogg/ogg.h" :
+cdef extern from "ogg/ogg.h" :
ctypedef short ogg_int16_t
ctypedef unsigned short ogg_uint16_t
ctypedef int ogg_int32_t
@@ -65,7 +65,7 @@
ogg_int64_t
ogg_int64_t packetno
- typedef struct ogg_sync_state :
+ ctypedef struct ogg_sync_state :
unsigned char *data
int storage
int fill
@@ -146,7 +146,7 @@
cdef void ogg_packet_clear ( ogg_packet* )
-extern cdef from "vorbis/codec.h" :
+cdef extern from "vorbis/codec.h" :
ctypedef enum :
OV_FALSE
OV_EOF
@@ -195,33 +195,33 @@
ogg_int64_t res_bits
void *backend_state
- cdef struct vorbis_block :
- float **pcm
- oggpack_buffer opb
- long lW
- long W
- long nW
- int pcmend
- int mode
- int eofflag
- ogg_int64_t granulepos
- ogg_int64_t sequence
- vorbis_dsp_state *vd
- void *localstore
- long localtop
- long localalloc
- long totaluse
- alloc_chain *reap
- long glue_bits
- long time_bits
- long floor_bits
- long res_bits
- void *internal
-
cdef struct alloc_chain :
void *ptr
alloc_chain *next
+ cdef struct vorbis_block :
+ float **pcm
+ oggpack_buffer opb
+ long lW
+ long W
+ long nW
+ int pcmend
+ int mode
+ int eofflag
+ ogg_int64_t granulepos
+ ogg_int64_t sequence
+ vorbis_dsp_state *vd
+ void *localstore
+ long localtop
+ long localalloc
+ long totaluse
+ alloc_chain *reap
+ long glue_bits
+ long time_bits
+ long floor_bits
+ long res_bits
+ void *internal
+
cdef struct vorbis_comment :
char **user_comments
int *comment_lengths
@@ -267,7 +267,7 @@
cdef int vorbis_synthesis_halfrate_p( vorbis_info *v )
-extern cdef from "theora/theora.h" :
+cdef extern from "theora/theora.h" :
ctypedef enum :
OC_FAULT
OC_EINVAL
_______________________________________________
PySoy-SVN mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-svn