Djinni Library  2.0.0
Cross-Platform Library
Example.hpp
Go to the documentation of this file.
1// AUTOGENERATED FILE - DO NOT MODIFY!
2// This file was generated by Djinni from my_djinni_library.djinni
3
4#pragma once
5
6#include "My/DjinniLibrary/example.hpp"
7#include "Native.hpp"
8#include <memory>
9
10namespace My { namespace DjinniLibrary { namespace cppcli {
11
12public ref class Example abstract {
13public:
14 static System::String^ HelloFromCpp();
15
16 static System::String^ HelloFromNative(Native^ from);
17
18internal:
19 using CppType = std::shared_ptr<::My::DjinniLibrary::Example>;
20 using CppOptType = std::shared_ptr<::My::DjinniLibrary::Example>;
21 using CsType = Example^;
22
23 static CppType ToCpp(CsType cs);
24 static CsType FromCppOpt(const CppOptType& cpp);
25 static CsType FromCpp(const CppType& cpp) { return FromCppOpt(cpp); }
26};
27
28} } } // namespace My::DjinniLibrary::cppcli
Definition: Example.hpp:12
static System::String ^ HelloFromCpp()
static System::String ^ HelloFromNative(Native^ from)
Definition: Native.hpp:11
Definition: Example.hpp:10