summaryrefslogtreecommitdiff
path: root/src/map/magic-expr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/magic-expr.hpp')
-rw-r--r--src/map/magic-expr.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/magic-expr.hpp b/src/map/magic-expr.hpp
index 4551585..7a251df 100644
--- a/src/map/magic-expr.hpp
+++ b/src/map/magic-expr.hpp
@@ -29,16 +29,16 @@
*/
typedef struct fun
{
- char *name;
- char *signature;
+ const char *name;
+ const char *signature;
char ret_ty;
int (*fun) (env_t * env, int args_nr, val_t * result, val_t * args);
} fun_t;
typedef struct op
{
- char *name;
- char *signature;
+ const char *name;
+ const char *signature;
int (*op) (env_t * env, int args_nr, val_t * args);
} op_t;