mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-22 18:58:51 +00:00
[C++] Add unit test for native_type usage
This commit is contained in:
15
tests/vector3d_pack.h
Normal file
15
tests/vector3d_pack.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef VECTOR3D_PACK_H
|
||||
#define VECTOR3D_PACK_H
|
||||
|
||||
#include "vector3d.h"
|
||||
|
||||
namespace Geometry {
|
||||
struct Vector3D;
|
||||
}
|
||||
|
||||
namespace flatbuffers {
|
||||
Geometry::Vector3D Pack(const Native::Vector3D& obj);
|
||||
const Native::Vector3D UnPack(const Geometry::Vector3D& obj);
|
||||
}
|
||||
|
||||
#endif // VECTOR3D_PACK_H
|
||||
Reference in New Issue
Block a user