• 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
..
android Loading commit data...
SampleBinary.cs Loading commit data...
SampleBinary.java Loading commit data...
SampleBinary.php Loading commit data...
android_sample.sh Loading commit data...
csharp_sample.sh Loading commit data...
go_sample.sh Loading commit data...
java_sample.sh Loading commit data...
javascript_sample.sh Loading commit data...
monster.fbs Loading commit data...
monster_generated.h Loading commit data...
monsterdata.json Loading commit data...
php_sample.sh Loading commit data...
python_sample.sh Loading commit data...
sample_binary.cpp Loading commit data...
sample_binary.go Loading commit data...
sample_binary.py Loading commit data...
sample_text.cpp Loading commit data...
samplebinary.js Loading commit data...