Skip to content
Snippets Groups Projects
  1. Feb 15, 2017
  2. Feb 14, 2017
  3. Feb 13, 2017
  4. Feb 10, 2017
  5. Feb 09, 2017
  6. Feb 08, 2017
  7. Feb 01, 2017
  8. Jan 30, 2017
  9. Jan 27, 2017
  10. Jan 25, 2017
  11. Jan 24, 2017
  12. Jan 23, 2017
  13. Jan 22, 2017
  14. Jan 19, 2017
    • Wouter van Oortmerssen's avatar
      More native code gen functionality. · 3f936c56
      Wouter van Oortmerssen authored
      Allow tables to be mapped to native types directly.  For example, a table
      representing a vector3 (eg. table Vec3 { x:float; y:float; z:float; }) can
      be mapped to a "mathfu::vec3" native type in NativeTables.  This requires
      users to provide Pack and UnPack functions that convert between the
      Table and native types.  This is done by adding the "native_type" attribute
      to the table definition.
      
      To support user-defined flatbuffers::Pack and flatbuffers::UnPack functions,
      support a "native_include" markup that will generate a corresponding
      
      Also add an UnPackTo function which allows users to pass in a pointer to
      a NativeTable object into which to UnPack the Table.  The existing UnPack
      function is now simply:
      
        NativeTable* UnPack() {
          NativeTable* obj = new NativeTable();
          Table::UnPackTo(obj);
          return obj;
        }
      
      Finally, allow native types to be given a default value as well which are
      set in the NativeTable constructor.  This is done by providing a
      "native_default" attribute to the member of a table.
      
      Change-Id: Ic45cb48b0e6d7cfa5734b24819e54aa96d847cfd
      3f936c56
    • Wouter van Oortmerssen's avatar
      Add no-op for padding variables to prevent clang compiler warning. · 42a265b4
      Wouter van Oortmerssen authored
      Change-Id: I119ee7109bfa2b0be0f468d2b2be459f45d1bb11
      42a265b4
    • Wouter van Oortmerssen's avatar
      Fix compiler warning on Visual Studio. · 4bc4979a
      Wouter van Oortmerssen authored
      Change-Id: Ifda5f2c32c6484508d5e12a463d6373798f1f523
      4bc4979a
  15. Jan 18, 2017
  16. Jan 14, 2017
Loading