@@ -138,7 +138,7 @@ struct ARGUMENTS
138138};
139139
140140// pre-declarations
141- bool generateFile (const Context & c, const std::string & output_file_path, bin2cpp::IGenerator * generator);
141+ bool generateOutputFile (const Context & c, const std::string & output_file_path, bin2cpp::IGenerator * generator);
142142APP_ERROR_CODES processInputFile (const Context & c, bin2cpp::IGenerator * generator);
143143APP_ERROR_CODES processInputDirectory (const Context & c, bin2cpp::IGenerator * generator);
144144APP_ERROR_CODES processManagerFiles (const Context & c);
@@ -600,11 +600,11 @@ APP_ERROR_CODES processInputFile(const Context & c, bin2cpp::IGenerator * genera
600600 }
601601
602602 // process files
603- bool headerResult = generateFile (c, outputHeaderPath, generator);
603+ bool headerResult = generateOutputFile (c, outputHeaderPath, generator);
604604 if (!headerResult)
605605 return APP_ERROR_UNABLETOCREATEOUTPUTFILES;
606606
607- bool cppResult = generateFile (c, outputCppPath, generator);
607+ bool cppResult = generateOutputFile (c, outputCppPath, generator);
608608 if (!cppResult)
609609 return APP_ERROR_UNABLETOCREATEOUTPUTFILES;
610610
@@ -745,7 +745,7 @@ FILE_UPDATE_MODE getFileUpdateMode(const std::string & input_file_path, const st
745745 return UPDATING;
746746}
747747
748- bool generateFile (const Context & c, const std::string & output_file_path, bin2cpp::IGenerator * generator)
748+ bool generateOutputFile (const Context & c, const std::string & output_file_path, bin2cpp::IGenerator * generator)
749749{
750750 FILE_UPDATE_MODE mode = getFileUpdateMode (c.inputFilePath , output_file_path, c.overrideExistingFiles );
751751
@@ -799,11 +799,11 @@ APP_ERROR_CODES processManagerFiles(const Context & c)
799799 generator.setContext (c);
800800
801801 // process files
802- bool headerResult = generateFile (c, outputHeaderPath, &generator);
802+ bool headerResult = generateOutputFile (c, outputHeaderPath, &generator);
803803 if (!headerResult)
804804 return APP_ERROR_UNABLETOCREATEOUTPUTFILES;
805805
806- bool cppResult = generateFile (c, outputCppPath, &generator);
806+ bool cppResult = generateOutputFile (c, outputCppPath, &generator);
807807 if (!cppResult)
808808 return APP_ERROR_UNABLETOCREATEOUTPUTFILES;
809809
0 commit comments