mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Clang fixes.
This commit is contained in:
parent
c5afbe9fea
commit
59cb19e56a
9 changed files with 75 additions and 69 deletions
|
|
@ -41,7 +41,7 @@ struct image_t
|
|||
std::vector<image_pixel_t> pix_map;
|
||||
};
|
||||
|
||||
std::string convert_vector_image_pixel_t_to_std_string(std::vector<image_pixel_t> & in);
|
||||
std::string convert_vector_image_pixel_t_to_std_string(std::vector<image_pixel_t> in);
|
||||
std::string convert_raw_uint8_to_png_std_string(uint8 * in, int width, int height, int components);
|
||||
std::string convert_raw_uint8_to_jpg_std_string(uint8 * in, int width, int height, int components);
|
||||
|
||||
|
|
@ -74,11 +74,11 @@ public:
|
|||
static int get_file_data(std::string full_path, char *data, unsigned int max_length, unsigned int offset=0);
|
||||
static int copy_file_data(std::string src_full_path, std::string dest_full_path);
|
||||
void setAppId(uint32 appid);
|
||||
static int store_file_data(std::string folder, std::string file, char *data, unsigned int length);
|
||||
static int store_file_data(std::string folder, std::string file, const char *data, unsigned int length);
|
||||
static std::vector<std::string> get_filenames_path(std::string path);
|
||||
|
||||
int store_data(std::string folder, std::string file, char *data, unsigned int length);
|
||||
int store_data_settings(std::string file, char *data, unsigned int length);
|
||||
int store_data_settings(std::string file, const char *data, unsigned int length);
|
||||
int get_data(std::string folder, std::string file, char *data, unsigned int max_length, unsigned int offset=0);
|
||||
int get_data_settings(std::string file, char *data, unsigned int max_length);
|
||||
int count_files(std::string folder);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue