Skip to content

Commit 19b57d7

Browse files
committed
Modified StringGenerator to use TemplateProcessor.
1 parent e440dd0 commit 19b57d7

File tree

3 files changed

+145
-275
lines changed

3 files changed

+145
-275
lines changed

src/bin2cpp/SegmentGenerator.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ namespace bin2cpp
226226
}
227227
else if ( mContext.code == CodeGenerationEnum::CODE_GENERATION_C )
228228
{
229-
//fprintf(fout, " memcpy(next, \"%s\", %s); next += %s; \n", cppEncoder.c_str(), ra::strings::ToString(readSize).c_str(), ra::strings::ToString(readSize).c_str());
230229
output += "memcpy(next, \"";
231230
output += code;
232231
output += "\", ";

0 commit comments

Comments
 (0)