[K/N] Convert :kotlin-native:Interop:StubGenerator

Use folder structure from the rest of the project and build it by
the bootstrap compiler.
This commit is contained in:
Alexander Shabalin
2024-03-01 22:15:28 +01:00
committed by Space Team
parent d7bccaef42
commit 9f0a6537bb
66 changed files with 6 additions and 30 deletions
@@ -0,0 +1,2 @@
headers = dependency.h
headerFilter = dependency.h
@@ -0,0 +1,4 @@
struct DependencyUsed;
struct DependencyUnused;
struct DependencyAndMain;
@@ -0,0 +1,2 @@
struct ImportedUsed;
struct ImportedUnused;
@@ -0,0 +1,2 @@
struct IncludedUsed;
struct IncludedUnused;
@@ -0,0 +1,2 @@
headers = main.h
headerFilter = main.h included.h dependency.h
@@ -0,0 +1,12 @@
#include "dependency.h"
#include "imported.h"
#include "included.h"
struct MainUsed;
struct MainUnused;
struct DependencyAndMain;
void useDependency(struct DependencyUsed*);
void useImported(struct ImportedUsed*);
void useIncluded(struct IncludedUsed*);
void useMain(struct MainUsed*);