return error;
}
+/** Get the numeric locale for this properties object.
+ *
+ * \public \memberof mlt_properties_s
+ * \param self a properties list
+ * \return the locale name if this properties has a specific locale it is using, NULL otherwise
+ */
+
+const char* mlt_properties_get_lcnumeric( mlt_properties self )
+{
+ property_list *list = self->local;
+ const char *result = NULL;
+
+ if ( list->locale )
+ {
+#ifdef querylocale
+ result = querylocale( LC_NUMERIC, list->locale );
+#else
+ result = list->locale->__names[ LC_NUMERIC ];
+#endif
+ }
+ return result;
+}
+
static int load_properties( mlt_properties self, const char *filename )
{
// Open the file
extern int mlt_properties_init( mlt_properties, void *child );
extern mlt_properties mlt_properties_new( );
extern int mlt_properties_set_lcnumeric( mlt_properties, const char *locale );
+extern const char* mlt_properties_get_lcnumeric( mlt_properties self );
extern mlt_properties mlt_properties_load( const char *file );
extern int mlt_properties_preset( mlt_properties self, const char *name );
extern int mlt_properties_inc_ref( mlt_properties self );
{
return mlt_properties_set_lcnumeric( get_properties(), locale );
}
+
+const char *Properties::get_lcnumeric( )
+{
+ return mlt_properties_get_lcnumeric( get_properties() );
+}
char *serialise_yaml( );
int preset( const char *name );
int set_lcnumeric( const char *locale );
+ const char *get_lcnumeric( );
};
}