Mercurial > molko
comparison libcore/core/script.c @ 168:aab824406d3d
misc: all printf-like function are name foof and vfoof
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 20 Oct 2020 15:09:39 +0200 |
parents | 30b68089ae70 |
children |
comparison
equal
deleted
inserted
replaced
167:b9b826cd9832 | 168:aab824406d3d |
---|---|
70 { | 70 { |
71 assert(s); | 71 assert(s); |
72 assert(a); | 72 assert(a); |
73 | 73 |
74 if (s->actionsz >= SCRIPT_ACTION_MAX) | 74 if (s->actionsz >= SCRIPT_ACTION_MAX) |
75 return error_printf("script is full"); | 75 return errorf("script is full"); |
76 | 76 |
77 s->actions[s->actionsz++] = a; | 77 s->actions[s->actionsz++] = a; |
78 | 78 |
79 return true; | 79 return true; |
80 } | 80 } |