1. 15 Oct, 2018 1 commit
  2. 11 Oct, 2018 4 commits
  3. 08 Oct, 2018 6 commits
  4. 04 Oct, 2018 2 commits
  5. 03 Oct, 2018 5 commits
  6. 01 Oct, 2018 3 commits
  7. 29 Sep, 2018 1 commit
    • Matt Mastracci's avatar
      Remove lifetime specifier on table getter methods (#4949) · bf871ffd
      Matt Mastracci authored
      With the old-style code, the test fails with a borrow-checker error:
      
      ```
        #[inline]
        pub fn name(&'a self) -> &'a str {
          self._tab.get::<flatbuffers::ForwardsUOffset<&str>>(Monster::VT_NAME, None).unwrap()
        }
      ```
      
      ```
      error[E0597]: `e` does not live long enough
         --> tests/integration_test.rs:273:57
          |
      273 |         let enemy_of_my_enemy = monster.enemy().map(|e| e.name());
          |                                                         ^      - `e` dropped here while still borrowed
          |                                                         |
          |                                                         borrowed value does not live long enough
      274 |         assert_eq!(enemy_of_my_enemy, Some("Fred"));
      275 |     }
          |     - borrowed value needs to live until here
      ```
      bf871ffd
  8. 28 Sep, 2018 1 commit
  9. 27 Sep, 2018 3 commits
  10. 26 Sep, 2018 1 commit
  11. 24 Sep, 2018 2 commits
  12. 21 Sep, 2018 4 commits
  13. 20 Sep, 2018 1 commit
    • Christopher Cifra's avatar
      [C#] Fix compile issue when compiling with older versions of C# (#4938) · ed03faaf
      Christopher Cifra authored
      * C# support for directly reading and writting to memory other than byte[].  For example, ByteBuffer can be initialized with a custom allocator which uses shared memory / memory mapped files.
      
      Public access to the backing buffer uses Span<T> instead of ArraySegment<T>.
      
      Writing to the buffer now supports Span<T> in addition to T[].
      
      To maintain backwards compatibility ENABLE_SPAN_T must be defined.
      
      * Remove usage of expression bodied method so that ByteBuffer can be compiled with older version of C#.
      ed03faaf
  14. 12 Sep, 2018 1 commit
  15. 06 Sep, 2018 2 commits
  16. 05 Sep, 2018 1 commit
  17. 04 Sep, 2018 2 commits