diff options
author | Haru <haru@dotalux.com> | 2016-01-25 16:52:27 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-01-25 17:10:00 +0100 |
commit | e3253b4ccc3e78ce482b54c920c6856109575aa6 (patch) | |
tree | e6cf272f01dacc106f19118adaa06f8c7bbfe04c /src/map/script.h | |
parent | b77735473db348a65b749a79549852713f142dc1 (diff) | |
download | hercules-e3253b4ccc3e78ce482b54c920c6856109575aa6.tar.gz hercules-e3253b4ccc3e78ce482b54c920c6856109575aa6.tar.bz2 hercules-e3253b4ccc3e78ce482b54c920c6856109575aa6.tar.xz hercules-e3253b4ccc3e78ce482b54c920c6856109575aa6.zip |
Added source support for special comments in the constdb
- To be used by the constdb2doc plugin
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h index dbb0f8a03..e6164092e 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -726,6 +726,7 @@ struct script_interface { const char* (*parse_expr) (const char *p); const char* (*parse_line) (const char *p); void (*read_constdb) (void); + void (*constdb_comment) (const char *comment); const char* (*print_line) (StringBuf *buf, const char *p, const char *mark, int line); void (*errorwarning_sub) (StringBuf *buf, const char *src, const char *file, int start_line, const char *error_msg, const char *error_pos); int (*set_reg) (struct script_state *st, struct map_session_data *sd, int64 num, const char *name, const void *value, struct reg_db *ref); |