• 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
..
FlatBuffers.Test Loading commit data...
MyGame Loading commit data...
fuzzer Loading commit data...
namespace_test Loading commit data...
prototest Loading commit data...
GoTest.sh Loading commit data...
JavaScriptTest.js Loading commit data...
JavaScriptTest.sh Loading commit data...
JavaTest.bat Loading commit data...
JavaTest.java Loading commit data...
JavaTest.sh Loading commit data...
PythonTest.sh Loading commit data...
generate_code.bat Loading commit data...
generate_code.sh Loading commit data...
go_test.go Loading commit data...
include_test1.fbs Loading commit data...
include_test2.fbs Loading commit data...
monster_test.bfbs Loading commit data...
monster_test.fbs Loading commit data...
monster_test.grpc.fb.cc Loading commit data...
monster_test.grpc.fb.h Loading commit data...
monster_test_generated.h Loading commit data...
monster_test_generated.js Loading commit data...
monsterdata_python_wire.mon Loading commit data...
monsterdata_test.golden Loading commit data...
monsterdata_test.json Loading commit data...
monsterdata_test.mon Loading commit data...
phpTest.php Loading commit data...
py_test.py Loading commit data...
test.cpp Loading commit data...
unicode_test.json Loading commit data...