blob: 417edfb2924efd0b80922d80688f5f9729a0a31b [file] [log] [blame]
#pragma once
#include "cxxbridge/cxxbridge.h"
#include <memory>
#include <string>
namespace org {
namespace rust {
class ThingC {
public:
ThingC(std::string appname);
~ThingC();
std::string appname;
};
struct SharedThing;
std::unique_ptr<ThingC> make_demo(cxxbridge::RustStr appname);
const std::string &get_name(const ThingC &thing);
void do_thing(SharedThing state);
} // namespace rust
} // namespace org