LILAC
Language to language Interop LAyer Compiler
Loading...
Searching...
No Matches
module.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2024 Yeong-won Seo
3
*
4
* This file is part of LILAC.
5
*
6
* LILAC is free software: you can redistribute it and/or modify it under
7
* the terms of the GNU General Public License as published by the Free
8
* Software Foundation, either version 3, or (at your option) any later
9
* version.
10
*
11
* LILAC is distributed in the hope that it will be useful, but WITHOUT ANY
12
* WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
* for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18
*/
19
20
#pragma once
21
22
#include "
shared/backend.h
"
23
24
namespace
lilac::csharp
25
{
29
class
CSharpBackendAction
final :
public
shared::BackendAction
30
{
31
public
:
32
CSharpBackendAction
();
33
34
[[nodiscard]]
35
int
Run
(std::string confPath, std::string libPath, std::string outPath, std::vector<std::string> argv)
const override
;
36
};
37
}
backend.h
lilac::csharp::CSharpBackendAction
An action that generates C# bridge of given interface representation using P/Invoke.
Definition
module.h:30
lilac::csharp::CSharpBackendAction::Run
int Run(std::string confPath, std::string libPath, std::string outPath, std::vector< std::string > argv) const override
Runs action with given paths.
Definition
module.cxx:48
lilac::csharp::CSharpBackendAction::CSharpBackendAction
CSharpBackendAction()
Definition
module.cxx:43
lilac::shared::BackendAction
An action that generates language-specific bridge of given interface representation.
Definition
backend.h:36
lilac::csharp
Definition
interfacevisitor.h:24
langs
csharp
backend
module.h
Generated on Sat Oct 5 2024 07:56:20 for LILAC by
1.12.0