StudyGlib/app/src/main/cpp/study/type.c
/* You can set enums from ints, but not doubles. Add a double converter too.
 */
You can set enums from ints, but not doubles. Add a double converter too.
You can set enums from ints but not doubles . Add a double converter too .
static void
transform_double_enum( const GValue *src_value, GValue *dest_value )
{
    g_value_set_enum( dest_value, g_value_get_double( src_value ) );
}
static void transform_double_enum ( const GValue * src_value , GValue * dest_value ) { g_value_set_enum ( dest_value , g_value_get_double ( src_value ) ) ; }
You can set enums from ints, but not doubles.
You can set enums from ints but not doubles .