summaryrefslogtreecommitdiffstats
path: root/ebs.c
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-01-31 22:06:02 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-01-31 22:06:02 +0100
commitf2f1bb631f161299e2172612dcd40e1777ad5f5c (patch)
tree3aaab8caf56395a6ec62375acaa254d81587d12a /ebs.c
parentprve ne pozabiš nikoli (diff)
downloadebs-f2f1bb631f161299e2172612dcd40e1777ad5f5c.tar
ebs-f2f1bb631f161299e2172612dcd40e1777ad5f5c.tar.gz
ebs-f2f1bb631f161299e2172612dcd40e1777ad5f5c.tar.bz2
ebs-f2f1bb631f161299e2172612dcd40e1777ad5f5c.tar.lz
ebs-f2f1bb631f161299e2172612dcd40e1777ad5f5c.tar.xz
ebs-f2f1bb631f161299e2172612dcd40e1777ad5f5c.tar.zst
ebs-f2f1bb631f161299e2172612dcd40e1777ad5f5c.zip
Diffstat (limited to 'ebs.c')
-rw-r--r--ebs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ebs.c b/ebs.c
index 975136d..f2d1c93 100644
--- a/ebs.c
+++ b/ebs.c
@@ -114,9 +114,11 @@ static void izhod_poln (struct ebs * e) {
void ebs_init (struct ebs * e) {
memset(e, '\0', sizeof *e);
+#ifndef NO_HOOKS
e->peek = peek;
e->poke = poke;
e->inštrukcija = inštrukcija;
+#endif
e->vhod_medp_indeks = 8;
e->izhod_medp_indeks = 0;
e->vhod_prazen = vhod_prazen;