mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-09-14 06:09:58 +00:00
switch comments to C-style to improve compatibility with pre-C99 and match unity
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user