aboutsummaryrefslogtreecommitdiff
path: root/example/main.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-07-11 21:46:41 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-07-11 21:46:41 +0300
commit85afb5ebecff3a452c984744d201e664fa81019d (patch)
tree98ab8db8f2a61c1ba9ebf57242ec5dc7f1ae0305 /example/main.c
parente7174d670cac7603d22da2552e3bef166aa17ea9 (diff)
downloadbcgen-85afb5ebecff3a452c984744d201e664fa81019d.tar.gz
bcgen-85afb5ebecff3a452c984744d201e664fa81019d.zip
allow multiple immediates
+ Still somewhat untested
Diffstat (limited to 'example/main.c')
-rw-r--r--example/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/main.c b/example/main.c
index 7e086a7..dccec66 100644
--- a/example/main.c
+++ b/example/main.c
@@ -18,7 +18,7 @@ int main()
// UNDEFINED macro or something
end(&cs);
- patch(&cs, r, l);
+ patch(&cs, r, 0, l);
printf("%llu\n", (unsigned long long)run(&cs));
destroy(&cs);