aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-25 09:55:26 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-25 09:55:30 +0200
commite96f64dfb844d9dba82b75f67c0569cfbf314199 (patch)
tree7cfdcbdcd0cdbdcc999b9b9bd7f21ae0016623cc /src
parentm (diff)
downloadmds-e96f64dfb844d9dba82b75f67c0569cfbf314199.tar.gz
mds-e96f64dfb844d9dba82b75f67c0569cfbf314199.tar.bz2
mds-e96f64dfb844d9dba82b75f67c0569cfbf314199.tar.xz
m doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libmdsserver/macros.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libmdsserver/macros.h b/src/libmdsserver/macros.h
index b340a64..a7707ff 100644
--- a/src/libmdsserver/macros.h
+++ b/src/libmdsserver/macros.h
@@ -214,9 +214,9 @@
/**
* Check whether two strings are equal
*
- * @param a:char* One of the strings
- * @param b:char* The other of the strings
- * @return :int Whether the strings are equal
+ * @param a:const char* One of the strings
+ * @param b:const char* The other of the strings
+ * @return :int Whether the strings are equal
*/
#define strequals(a, b) \
(strcmp(a, b) == 0)
@@ -225,9 +225,9 @@
/**
* Check whether a string starts with another string
*
- * @param haystack:char* The string to inspect
- * @param needle:char* The string `haystack` should start with
- * @return :int Whether `haystack` starts with `needle`
+ * @param haystack:const char* The string to inspect
+ * @param needle:const char* The string `haystack` should start with
+ * @return :int Whether `haystack` starts with `needle`
*/
#define startswith(haystack, needle) \
(strstr(haystack, needle) == haystack)