[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:
committed by
Space Team
parent
d7bccaef42
commit
9f0a6537bb
+3
@@ -0,0 +1,3 @@
|
||||
headers = dependency.h
|
||||
headerFilter = dependency.h
|
||||
language = Objective-C
|
||||
+7
@@ -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>);
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
@class Class3;
|
||||
@protocol Protocol3;
|
||||
|
||||
@interface Class4
|
||||
@end
|
||||
|
||||
@protocol Protocol4
|
||||
@end
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
headers = main.h
|
||||
language = Objective-C
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
#import "included.h"
|
||||
|
||||
@class Class1, Class2;
|
||||
@class Class2;
|
||||
|
||||
@interface Class1
|
||||
@end
|
||||
|
||||
@interface Class2
|
||||
@end
|
||||
|
||||
@class Class2;
|
||||
|
||||
@protocol Protocol1;
|
||||
|
||||
@protocol Protocol1
|
||||
@end
|
||||
|
||||
@protocol Protocol2;
|
||||
|
||||
@protocol Protocol2
|
||||
@end
|
||||
|
||||
@interface Class3
|
||||
@end
|
||||
|
||||
@protocol Protocol3
|
||||
@end
|
||||
|
||||
@class Class4;
|
||||
@protocol Protocol4;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
headers = dependency.h
|
||||
headerFilter = dependency.h
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
struct DependencyUsed;
|
||||
struct DependencyUnused;
|
||||
|
||||
struct DependencyAndMain;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
struct ImportedUsed;
|
||||
struct ImportedUnused;
|
||||
+2
@@ -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*);
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
struct Struct3;
|
||||
|
||||
struct Struct4 {};
|
||||
+1
@@ -0,0 +1 @@
|
||||
headers = main.h
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
#include "included.h"
|
||||
|
||||
struct Struct1;
|
||||
struct Struct1 {};
|
||||
|
||||
struct Struct2;
|
||||
struct Struct2 {};
|
||||
struct Struct2;
|
||||
|
||||
struct Struct3 {};
|
||||
|
||||
struct Struct4;
|
||||
Reference in New Issue
Block a user