Skip to content
Snippets Groups Projects
Commit 5e0340a1 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

stack check added

Rev: src/add_efun.c:1.4
parent 2e2dbf8e
No related branches found
No related tags found
No related merge requests found
...@@ -106,6 +106,7 @@ void add_efun(char *name, c_fun fun, char *type, INT16 flags) ...@@ -106,6 +106,7 @@ void add_efun(char *name, c_fun fun, char *type, INT16 flags)
static void push_efun_entry(struct hash_entry *h) static void push_efun_entry(struct hash_entry *h)
{ {
struct efun *f; struct efun *f;
check_stack(1);
f=BASEOF(h, efun, link); f=BASEOF(h, efun, link);
push_string(f->link.s); push_string(f->link.s);
f->link.s->refs++; f->link.s->refs++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment