Reviewing merge request #78: Added support for pure virtual methods returning void pointers
The generated code didn't specify any return value for pure virtual methods with return type of void*, thus breaking the generated code. The return value is now set to 0 by default.
Commits that would be merged:
Version 2
Comments
- struct SecrectClass : public Abstract {
Would be nice to have this typo fix in another separated commit.
- s << ' ';
Just cosmetic stuff, but I think that this change will cause the generator to print “return ;” when the function “returns” void, instead of the beautifull “return;” =]
+ s << INDENT << "return ";
This also could be in a separated commit, because this fixes a diferent bug.
Sure, I’ll redo the request.
OK, reformatted as three separate commits. I also paid special attention to the formatting of the generated code this time. ;–)
+1
+1
Thx, merged. My first merge! And I’ll never grow tired of repeating that!


Add a new comment:
Login or create an account to post a comment