/[Apache-SVN]
ViewVC logotype

Revision 665246


Jump to revision: Previous Next
Author: dreiss
Date: Tue Sep 4 21:31:04 2007 UTC (17 years, 2 months ago)
Changed paths: 3
Log Message:
Thrift: Slight tweaks to local reflection.

Summary:
Local reflection typespecs for structs now have a dummy T_STOP field at the end
so we don't have to check the size on every iteration.
They also contain information about which fields are optional.
Also put a static pointer to the reflection in each structure.

Reviewed By: mcslee

Test Plan: test/DenseLinkingTest.thrift

Revert Plan: ok


Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/main.cc modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/TReflectionLocal.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26