mirror of
https://github.com/geohot/qira
synced 2025-03-13 02:23:07 +03:00
add code for struct stuff and fix resize bug
This commit is contained in:
parent
1882235734
commit
7caa3f6796
13
tests_auto/source-autogen/stackframetest.c
Normal file
13
tests_auto/source-autogen/stackframetest.c
Normal file
@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int stacked(int input) {
|
||||
int plus_2 = input + 2;
|
||||
int times_5 = input * 5;
|
||||
return plus_2 + times_5;
|
||||
}
|
||||
|
||||
int main() {
|
||||
int i;
|
||||
for (i = 1; i < 4; i++) printf("%d %d\n", i, stacked(i));
|
||||
}
|
||||
|
BIN
tests_manual/stackframetest_x86
Executable file
BIN
tests_manual/stackframetest_x86
Executable file
Binary file not shown.
@ -376,3 +376,6 @@ function on_changes(msg) { DS("changes");
|
||||
redraw_flags();
|
||||
} stream.on('changes', on_changes);
|
||||
|
||||
// fix the resize problem
|
||||
window.onresize = redraw_flags;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user