[C++] Add unit test for native_type usage

This commit is contained in:
Alexey Geraskin
2019-07-16 18:20:21 +03:00
parent 8525b984ce
commit 0a4bf1d6d3
7 changed files with 93 additions and 0 deletions

15
tests/vector3d_pack.h Normal file
View 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