diff options
author | Christian Poveda <christian.poveda@ferrous-systems.com> | 2022-09-23 21:36:14 -0500 |
---|---|---|
committer | Christian Poveda <christian.poveda@ferrous-systems.com> | 2022-10-04 20:47:17 -0500 |
commit | 0296f9e86c7756e718b6b82836ce1e09b5f8d08a (patch) | |
tree | b5954c6680b243c0b1671a80ea973ef90877e462 /tests/headers/transform-op.hpp | |
parent | a900f8f863d1313ad76603234aaeea22bb9ba7b3 (diff) |
split the repo into a workspace
remove `clap` dependency :tada:
update the book installation instructions
Diffstat (limited to 'tests/headers/transform-op.hpp')
-rw-r--r-- | tests/headers/transform-op.hpp | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/tests/headers/transform-op.hpp b/tests/headers/transform-op.hpp deleted file mode 100644 index aa6118eb..00000000 --- a/tests/headers/transform-op.hpp +++ /dev/null @@ -1,75 +0,0 @@ -// bindgen-flags: --rust-target 1.0 -- -std=c++11 - -typedef unsigned char uint8_t; -typedef int int32_t; - -template<typename T> -struct StylePoint { - T x; - T y; -}; - -template<typename T> -union StyleFoo { - enum class Tag : uint8_t { - Foo, - Bar, - Baz, - Bazz, - }; - - struct Foo_Body { - Tag tag; - int32_t x; - StylePoint<T> y; - StylePoint<float> z; - }; - - struct Bar_Body { - Tag tag; - T _0; - }; - - struct Baz_Body { - Tag tag; - StylePoint<T> _0; - }; - - struct { - Tag tag; - }; - Foo_Body foo; - Bar_Body bar; - Baz_Body baz; -}; - -template<typename T> -struct StyleBar { - enum class Tag { - Bar1, - Bar2, - Bar3, - Bar4, - }; - - struct StyleBar1_Body { - int32_t x; - StylePoint<T> y; - StylePoint<float> z; - }; - - struct StyleBar2_Body { - T _0; - }; - - struct StyleBar3_Body { - StylePoint<T> _0; - }; - - Tag tag; - union { - StyleBar1_Body bar1; - StyleBar2_Body bar2; - StyleBar3_Body bar3; - }; -}; |