flatbuffers/tests/reflection_test.h
Sergei Trofimovich 7e00b754f0
tests/reflection_test.h: add missing <stdint.h> include (#7680)
Without the change build fails on weekly `gcc-13` snapshots as:

    In file included from /build/flatbuffers/tests/reflection_test.cpp:1:
    tests/reflection_test.h:9:57: error: 'uint8_t' has not been declared
        9 | void ReflectionTest(const std::string& tests_data_path, uint8_t *flatbuf, size_t length);
          |                                                         ^~~~~~~
2022-11-30 18:47:10 -08:00

18 lines
387 B
C++

#ifndef TESTS_REFLECTION_TEST_H
#define TESTS_REFLECTION_TEST_H
#include <stdint.h>
#include <string>
namespace flatbuffers {
namespace tests {
void ReflectionTest(const std::string& tests_data_path, uint8_t *flatbuf, size_t length);
void MiniReflectFixedLengthArrayTest();
void MiniReflectFlatBuffersTest(uint8_t *flatbuf);
} // namespace tests
} // namespace flatbuffers
#endif