mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-24 23:15:29 -04:00
12 lines
151 B
C++
12 lines
151 B
C++
// bindgen-flags: -- -std=c++11
|
|
|
|
template<typename T>
|
|
class Point {
|
|
T x;
|
|
T y;
|
|
};
|
|
|
|
typedef Point<int> IntPoint2D;
|
|
|
|
using IntVec2D = Point<int>;
|