git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@796356 
13f79535-47bb-0310-9956-
ffa450edef68
 
     if ((*c_iter)->get_type()->is_container() ||
         (*c_iter)->get_type()->is_struct()) {
       string name = (*c_iter)->get_name();
-      f_impl_ << indent() << name << " = " << render_const_value(name,
+      f_impl_ << indent() << cocoa_prefix_ << name << " = " << render_const_value(name,
                                                                  (*c_iter)->get_type(),
                                                                  (*c_iter)->get_value());
       f_impl_ << ";" << endl;
     f_impl_ <<
       "+ (" << type_name(type) << ") " << name;
     scope_up(f_impl_);
-    indent(f_impl_) << "return " << name << ";" << endl;
+    indent(f_impl_) << "return " << cocoa_prefix_ << name << ";" << endl;
     scope_down(f_impl_);
   }