diff options
Diffstat (limited to 'src/map/magic-expr-eval.hpp')
-rw-r--r-- | src/map/magic-expr-eval.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/magic-expr-eval.hpp b/src/map/magic-expr-eval.hpp index 9c9591b..76b86f8 100644 --- a/src/map/magic-expr-eval.hpp +++ b/src/map/magic-expr-eval.hpp @@ -7,7 +7,7 @@ /* Helper definitions for dealing with functions and operations */ -int magic_signature_check(const char *opname, const char *funname, const char *signature, +int magic_signature_check(ZString opname, ZString funname, ZString signature, int args_nr, val_t *args, int line, int column); void magic_area_rect(map_local **m, int *x, int *y, int *width, int *height, @@ -15,7 +15,7 @@ void magic_area_rect(map_local **m, int *x, int *y, int *width, int *height, #define ARGINT(x) args[x].v.v_int #define ARGDIR(x) args[x].v.v_dir -#define ARGSTR(x) args[x].v.v_string +#define ARGSTR(x) ZString(args[x].v.v_string) #define ARGENTITY(x) args[x].v.v_entity #define ARGLOCATION(x) args[x].v.v_location #define ARGAREA(x) args[x].v.v_area |