switch comments to C-style to improve compatibility with pre-C99 and match unity

This commit is contained in:
Tuc-An
2020-03-25 05:41:14 -04:00
parent 382c196379
commit 24daea45ab
4 changed files with 59 additions and 59 deletions
+1 -1
View File
@@ -302,7 +302,7 @@ class CMockGenerator
file << "#{decl}\n"
file << "{\n"
file << " //TODO: Implement Me!\n"
file << " /*TODO: Implement Me!*/\n"
function[:args].each { |arg| file << " (void)#{arg[:name]};\n" }
file << " return (#{(function[:return][:type])})0;\n" unless function[:return][:void?]
file << "}\n\n"