branch | transitional_engine |
changeset 16021 | 6a3dc15b78b9 |
16009:7544a7d7c819 | 16021:6a3dc15b78b9 |
---|---|
1 #include <cxxbridge-cpp/foo/mod.h> |
|
2 #include <cxxbridge-cpp/lib.h> |
|
3 #include <vector> |
|
4 |
|
5 int main(int argc, char **argv) |
|
6 { |
|
7 std::vector<uint64_t> input = { 4, 5, 6}; |
|
8 rust::Slice<const ::std::uint64_t> slice{input.data(), input.size()}; |
|
9 lib::print(slice); |
|
10 foo::print(slice); |
|
11 } |