author | unC0Rr |
Wed, 28 Aug 2024 15:31:51 +0200 | |
branch | transitional_engine |
changeset 16021 | 6a3dc15b78b9 |
permissions | -rw-r--r-- |
16021 | 1 |
#include <iostream> |
2 |
#include "cpplib.h" |
|
3 |
#include "cxxbridge-cpp/lib.h" |
|
4 |
#include "rust/cxx.h" |
|
5 |
||
6 |
RsImage read_image(rust::Str path) { |
|
7 |
std::cout << "read_image called" << std::endl; |
|
8 |
std::cout << path << std::endl; |
|
9 |
Rgba c = { 1.0, 2.0, 3.0, 4.0}; |
|
10 |
RsImage v = { 1, 1, c}; |
|
11 |
return v; |
|
12 |
} |
|
13 |
void write_image(::rust::Str path, ::RsImage const & image) { |
|
14 |
||
15 |
} |