/**
* \file mlt_properties.c
* \brief Properties class definition
+ * \see mlt_properties_s
*
- * Copyright (C) 2003-2008 Ushodaya Enterprises Limited
+ * Copyright (C) 2003-2009 Ushodaya Enterprises Limited
* \author Charles Yates <charles.yates@pandora.be>
* \author Dan Dennedy <dan@dennedy.org>
*
{
char *props = strdup( list );
char *ptr = props;
- char *delim = " ,\t\n"; // Any combination of spaces, commas, tabs, and newlines
+ const char *delim = " ,\t\n"; // Any combination of spaces, commas, tabs, and newlines
int count, done = 0;
while( !done )
* \public \memberof mlt_properties_s
* \param this a properties list
* \param index the numeric index of the property
- * \param size the size of the binary data in bytes or NULL if the index is out of range
+ * \param[out] size the size of the binary data in bytes or NULL if the index is out of range
*/
void *mlt_properties_get_data_at( mlt_properties this, int index, int *size )
* \public \memberof mlt_properties_s
* \param this a properties list
* \param name the property to get
- * \param length The size of the binary data in bytes, if available (often it is not, you should know)
+ * \param[out] length The size of the binary data in bytes, if available (often it is not, you should know)
*/
void *mlt_properties_get_data( mlt_properties this, const char *name, int *length )
static int mlt_compare( const void *this, const void *that )
{
- return strcmp( mlt_property_get_string( *( mlt_property * )this ), mlt_property_get_string( *( mlt_property * )that ) );
+ return strcmp( mlt_property_get_string( *( const mlt_property * )this ), mlt_property_get_string( *( const mlt_property * )that ) );
}
/** Get the contents of a directory.
/** How many bytes to grow at a time */
#define STRBUF_GROWTH (1024)
-/** \brief Self-growing buffer for building strings
+/** \brief Private to mlt_properties_s, a self-growing buffer for building strings
* \private
*/