RetroArch
Classes | Functions
config_file_userdata.h File Reference
#include <string.h>
#include <file/config_file.h>
#include <retro_common_api.h>
Include dependency graph for config_file_userdata.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  config_file_userdata
 

Functions

int config_userdata_get_float (void *userdata, const char *key_str, float *value, float default_value)
 
int config_userdata_get_int (void *userdata, const char *key_str, int *value, int default_value)
 
int config_userdata_get_float_array (void *userdata, const char *key_str, float **values, unsigned *out_num_values, const float *default_values, unsigned num_default_values)
 
int config_userdata_get_int_array (void *userdata, const char *key_str, int **values, unsigned *out_num_values, const int *default_values, unsigned num_default_values)
 
int config_userdata_get_string (void *userdata, const char *key_str, char **output, const char *default_output)
 
void config_userdata_free (void *ptr)
 

Function Documentation

◆ config_userdata_free()

void config_userdata_free ( void ptr)
Here is the call graph for this function:

◆ config_userdata_get_float()

int config_userdata_get_float ( void userdata,
const char *  key_str,
float *  value,
float  default_value 
)
Here is the call graph for this function:

◆ config_userdata_get_float_array()

int config_userdata_get_float_array ( void userdata,
const char *  key_str,
float **  values,
unsigned *  out_num_values,
const float *  default_values,
unsigned  num_default_values 
)
Here is the call graph for this function:

◆ config_userdata_get_int()

int config_userdata_get_int ( void userdata,
const char *  key_str,
int *  value,
int  default_value 
)
Here is the call graph for this function:

◆ config_userdata_get_int_array()

int config_userdata_get_int_array ( void userdata,
const char *  key_str,
int **  values,
unsigned *  out_num_values,
const int *  default_values,
unsigned  num_default_values 
)
Here is the call graph for this function:

◆ config_userdata_get_string()

int config_userdata_get_string ( void userdata,
const char *  key_str,
char **  output,
const char *  default_output 
)
Here is the call graph for this function: