Add omitted "*"

git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@107 00440858-1255-0410-a3e6-75ea37f81c3a
This commit is contained in:
lahiker42 2009-01-08 01:39:52 +00:00
parent 27aed0b2ac
commit 1f05e6125f
2 changed files with 3 additions and 1 deletions

View File

@ -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 "*"

View File

@ -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");
}