projects
/
heartbreak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f88fda
)
left gross code
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Wed, 17 Nov 2021 04:52:41 +0000
(22:52 -0600)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Wed, 17 Nov 2021 04:52:41 +0000
(22:52 -0600)
src/heartbreak_input.c
patch
|
blob
|
history
diff --git
a/src/heartbreak_input.c
b/src/heartbreak_input.c
index 3707768c89f9ea480dd957f670962844e94618be..a8c76c5e3ec6f871ad1e423b04afe50136934f88 100644
(file)
--- a/
src/heartbreak_input.c
+++ b/
src/heartbreak_input.c
@@
-3,11
+3,6
@@
#define HEARTBREAK_MODULE_NAME input
-void foo(void);
-struct t { void (*mem)(void); char* x; int arr[20]; };
-
-static struct t x = { foo, "asdf", { 20 } };
-
HEARTBREAK_DEF(key_is_down, (WASM_I32), (WASM_I32)) {
results->data[0] = WASM_I32_VAL(glfwGetKey(glfw_window, params->data[0].of.i32));
return NULL;