search for: mydata_length

Displaying 2 results from an estimated 2 matches for "mydata_length".

Did you mean: my_data_length
2007 Oct 11
0
10 commits - configure.ac doc/Makefile.am doc/swfdec-sections.txt libswfdec/swfdec_buffer.c libswfdec/swfdec_movie_as_drawing.c test/image test/sound
...to by a buffer. See swfdec_buffer_new() for an example. + */ + GType swfdec_buffer_get_type (void) { @@ -80,7 +89,8 @@ swfdec_buffer_get_type (void) * <informalexample><programlisting>SwfdecBuffer *buffer = swfdec_buffer_new (); * buffer->data = mydata; * buffer->length = mydata_length; - * buffer->free = mydata_freefunc;</programlisting></informalexample> + * buffer->free = mydata_freefunc; + * buffer->priv = mydata_private;</programlisting></informalexample> * * Returns: a new #SwfdecBuffer referencing nothing. **/ diff-tree 4ddda3f1c1054b...
2007 Mar 22
0
7 commits - configure.ac doc/swfdec-docs.sgml libswfdec/js libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h libswfdec/swfdec_js_movie.c test/trace
...ght + * size. + */ +/*** SwfdecBuffer ***/ + +/** + * swfdec_buffer_new: + * + * Creates a new #SwfdecBuffer to be filled by the user. Use like this: + * <informalexample><programlisting>SwfdecBuffer *buffer = swfdec_buffer_new (); + * buffer->data = mydata; + * buffer->length = mydata_length; + * buffer->free = mydata_freefunc;</programlisting></informalexample> + * + * Returns: a new #SwfdecBuffer referencing nothing. + **/ SwfdecBuffer * swfdec_buffer_new (void) { @@ -43,6 +74,21 @@ swfdec_buffer_new (void) return buffer; } +static void +swfdec_buffer_free_mem...