Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ac70b5f
)
THRIFT-1504: Cocoa Generator should use local file imports for base Thrift headers
author
Jake Farrell
<jfarrell@apache.org>
Fri, 27 Jan 2012 03:06:54 +0000
(
03:06
+0000)
committer
Jake Farrell
<jfarrell@apache.org>
Fri, 27 Jan 2012 03:06:54 +0000
(
03:06
+0000)
Client: cocoa
Patch: Steve White
Updates thrift headers as global imports instead of local imports
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1236503
13f79535
-47bb-0310-9956-
ffa450edef68
compiler/cpp/src/generate/t_cocoa_generator.cc
patch
|
blob
|
history
diff --git
a/compiler/cpp/src/generate/t_cocoa_generator.cc
b/compiler/cpp/src/generate/t_cocoa_generator.cc
index
14ed478
..
9db5d27
100644
(file)
--- a/
compiler/cpp/src/generate/t_cocoa_generator.cc
+++ b/
compiler/cpp/src/generate/t_cocoa_generator.cc
@@
-270,11
+270,11
@@
string t_cocoa_generator::cocoa_imports() {
*/
string t_cocoa_generator::cocoa_thrift_imports() {
string result = string() +
- "#import
<TProtocol.h>
\n" +
- "#import
<TApplicationException.h>
\n" +
- "#import
<TProtocolUtil.h>
\n" +
- "#import
<TProcessor.h>
\n" +
- "#import
<TObjective-C.h>
\n" +
+ "#import
\"TProtocol.h\"
\n" +
+ "#import
\"TApplicationException.h\"
\n" +
+ "#import
\"TProtocolUtil.h\"
\n" +
+ "#import
\"TProcessor.h\"
\n" +
+ "#import
\"TObjective-C.h\"
\n" +
"\n";
// Include other Thrift includes