mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2025-01-14 09:17:55 +08:00
Add omitted "*"
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@107 00440858-1255-0410-a3e6-75ea37f81c3a
This commit is contained in:
parent
27aed0b2ac
commit
1f05e6125f
@ -22,3 +22,5 @@
|
||||
- lowercase field names consistently when composing
|
||||
default_value names. (issue 11)
|
||||
- remove spurious semicolon (issue 10)
|
||||
0.8: (NOT YET RELEASED)
|
||||
- Destroy function typedef for Services was omitting a "*"
|
||||
|
@ -77,7 +77,7 @@ void ServiceGenerator::GenerateVfuncs(io::Printer* printer)
|
||||
printer->Print(vars_,
|
||||
"};\n");
|
||||
printer->Print(vars_,
|
||||
"typedef void (*$cname$_ServiceDestroy)($cname$_Service);\n"
|
||||
"typedef void (*$cname$_ServiceDestroy)($cname$_Service *);\n"
|
||||
"void $lcfullname$__init ($cname$_Service *service,\n"
|
||||
" $lcfullpadd$ $cname$_ServiceDestroy destroy);\n");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user