• Wouter van Oortmerssen's avatar
    Adds typedefs and functions to help write generic code. · bc2ec711
    Wouter van Oortmerssen authored
    The following changes have been made to the C++ codegen to enable writing generic code
    that uses the Table and NativeTable types.
    
    - Adds TableType and NativeTableType typedefs to NativeTable and Table structs.
    - Adds GetFullyQualifiedName() to NativeTables if --gen-name-strings is set.
    - Adds a static Pack function to Tables that simply calls the global CreateX functions.
    
    See cr/140391505 as an example of improved usage.
    
    From cl/140529288.
    
    Change-Id: Idec137c16129e15c1783f94fabdcea24aeeaaef6
    bc2ec711
Name
Last commit
Last update
CMake Loading commit data...
android Loading commit data...
biicode Loading commit data...
docs Loading commit data...
go Loading commit data...
grpc Loading commit data...
include/flatbuffers Loading commit data...
java/com/google/flatbuffers Loading commit data...
js Loading commit data...
net/FlatBuffers Loading commit data...
php Loading commit data...
python Loading commit data...
reflection Loading commit data...
samples Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
appveyor.yml Loading commit data...
biicode.conf Loading commit data...
composer.json Loading commit data...
pom.xml Loading commit data...
readme.md Loading commit data...