Native: add a test for cinterop forward declarations
This commit is contained in:
committed by
Space Team
parent
26330133ab
commit
46a85d9729
+11
@@ -0,0 +1,11 @@
|
||||
---
|
||||
struct StructDeclared;
|
||||
struct StructDefined { int x; };
|
||||
|
||||
int useStructDeclared(struct StructDeclared* declared) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int useStructDefined(struct StructDefined* defined) {
|
||||
return -2;
|
||||
}
|
||||
Reference in New Issue
Block a user