-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added better logging when creating HTML files
- Loading branch information
1 parent
821e22b
commit 01b3d0b
Showing
4 changed files
with
87 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
d0a9d71f5e94f7c7a68e4f88755e3e1351f1200e | ||
821e22b4fb730e202a9440edea42bc3cd483d60b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
#define PREVIOUS_HISE_COMMIT "d0a9d71f5e94f7c7a68e4f88755e3e1351f1200e" | ||
#define PREVIOUS_HISE_COMMIT "821e22b4fb730e202a9440edea42bc3cd483d60b" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/* | ||
BEGIN_TEST_DATA | ||
f: main | ||
ret: int | ||
args: int | ||
input: 12 | ||
output: 12 | ||
error: "" | ||
filename: "map/test01" | ||
END_TEST_DATA | ||
*/ | ||
|
||
struct ExternalFunctionMap | ||
{ | ||
int value = 9000; | ||
}; | ||
|
||
struct ExternalFunction | ||
{ | ||
dyn<ExternalFunctionMap> m; | ||
|
||
void setMap(dyn<ExternalFunctionMap> map) | ||
{ | ||
m.referTo(map, 0, 1); | ||
} | ||
|
||
|
||
}; | ||
|
||
struct Base | ||
{ | ||
|
||
|
||
int value = 90; | ||
int value2 = 100; | ||
}; | ||
|
||
span<ExternalFunctionMap, 1> map; | ||
dyn<ExternalFunctionMap> m; | ||
|
||
struct Derived: public Base | ||
{ | ||
ExternalFunction f1; | ||
|
||
void init(dyn<ExternalFunctionMap> m) | ||
{ | ||
f1.setMap(m); | ||
} | ||
|
||
void ping0(int input) | ||
{ | ||
value = input; | ||
} | ||
}; | ||
|
||
int main(int input) | ||
{ | ||
m.referTo(map, 0, 1); | ||
|
||
|
||
|
||
Derived obj; | ||
|
||
obj.init(m); | ||
|
||
obj.ping0(input); | ||
|
||
return obj.value + obj.value2; | ||
} | ||
|