[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,3 @@
headers = dependency.h
headerFilter = dependency.h
language = Objective-C
@@ -0,0 +1,7 @@
@class DependencyClassUsed;
@class DependencyClassUnused;
@class DependencyAndMainClass;
@protocol DependencyProtocolUsed;
@protocol DependencyProtocolUnused;
@protocol DependencyAndMainProtocol;
@@ -0,0 +1,5 @@
@class ImportedClassUsed;
@class ImportedClassUnused;
@protocol ImportedProtocolUsed;
@protocol ImportedProtocolUnused;
@@ -0,0 +1,2 @@
@class IncludedClassUsed, IncludedClassUnused;
@protocol IncludedProtocolUsed, IncludedProtocolUnused;
@@ -0,0 +1,3 @@
headers = main.h
headerFilter = main.h included.h dependency.h
language = Objective-C
@@ -0,0 +1,17 @@
#import "dependency.h"
#import "imported.h"
#import "included.h"
@class MainClassUsed;
@class MainClassUnused;
@class DependencyAndMainClass;
@protocol MainProtocolUsed;
@protocol MainProtocolUnused;
@protocol DependencyAndMainProtocol;
void useDependency(DependencyClassUsed*, id<DependencyProtocolUsed>);
void useImported(ImportedClassUsed*, id<ImportedProtocolUsed>);
void useIncluded(IncludedClassUsed*, id<IncludedProtocolUsed>);
void useMain(MainClassUsed*, id<MainProtocolUsed>);