inline these helper functions to save space
This commit is contained in:
parent
8ec395879b
commit
18dc658956
|
@ -109,13 +109,13 @@ print "}};";
|
||||||
|
|
||||||
print "";
|
print "";
|
||||||
print "// Tick & init functions:";
|
print "// Tick & init functions:";
|
||||||
print qq!void tick_$app(void) {!;
|
print qq!inline void tick_$app(void) {!;
|
||||||
for (sort @ticks){
|
for (sort @ticks){
|
||||||
print qq!\t$_();!;
|
print qq!\t$_();!;
|
||||||
};
|
};
|
||||||
print qq!};!;
|
print qq!};!;
|
||||||
|
|
||||||
print qq!void init_$app(void) {!;
|
print qq!inline void init_$app(void) {!;
|
||||||
for (sort @inits){
|
for (sort @inits){
|
||||||
print qq!\t$_();!;
|
print qq!\t$_();!;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue