mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 01:01:35 +01:00
Move C++ method impls inside struct definitions
This commit is contained in:
1 parent
5b82dd905a
commit
26a448450e
3 files changed
+133
-264
No files matched your search
@@ -95,11 +95,9 @@ func (g *gen) writeFuncSignature(b *buffer, n *a.Func, cpp uint32) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if cpp != cppInsideStruct {
|
||||
// The empty // comment makes clang-format place the function name at
|
||||
// the start of a line.
|
||||
b.writes("//\n")
|
||||
}
|
||||
// The empty // comment makes clang-format place the function name at the
|
||||
// start of a line.
|
||||
b.writes("//\n")
|
||||
|
||||
switch cpp {
|
||||
case cppNone:
|
||||
|
||||
Reference in new issue
Block a user