summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-01-01 01:46:35 +0100
committerHaru <haru@dotalux.com>2016-06-25 17:29:38 +0200
commitfd55dac620cf645222538b6cd1b37e0a3df6ad1e (patch)
treeb228dbe43392c723e78d81a2d659558b7dabc000 /src/map/script.h
parentd174187cc32db324a9127dfc1eb0d181aec37f13 (diff)
downloadhercules-fd55dac620cf645222538b6cd1b37e0a3df6ad1e.tar.gz
hercules-fd55dac620cf645222538b6cd1b37e0a3df6ad1e.tar.bz2
hercules-fd55dac620cf645222538b6cd1b37e0a3df6ad1e.tar.xz
hercules-fd55dac620cf645222538b6cd1b37e0a3df6ad1e.zip
Replaced struct script_string_buf definition with a VECTOR
- Fixes various signed/unsigned comparisons. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/script.h b/src/map/script.h
index a1fbe31f0..8650cab9c 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -517,10 +517,10 @@ struct script_array {
unsigned int *members;/* member list */
};
-struct script_string_buf {
- char *ptr;
- size_t pos,size;
-};
+/**
+ * A script string buffer, used to hold strings used by the script engine.
+ */
+VECTOR_STRUCT_DECL(script_string_buf, char);
struct string_translation {
int string_id;