From fd16225902751a881e4da2161e20822c387113b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sat, 23 Nov 2013 16:44:29 +0000 Subject: structs char* goes const --- eo_tokenizer.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/eo_tokenizer.h b/eo_tokenizer.h index 5a82019..0f331f7 100644 --- a/eo_tokenizer.h +++ b/eo_tokenizer.h @@ -36,8 +36,8 @@ extern int _eo_tokenizer_log_dom; typedef struct _eo_ret { - char *type; - char *comment; + const char *type; + const char *comment; } Eo_Ret; /* PARAMS */ @@ -52,9 +52,9 @@ typedef enum _param_way typedef struct _eo_param { Param_Way way; - char *type; - char *name; - char *comment; + const char *type; + const char *name; + const char *comment; } Eo_Param; /* PROPERTIES */ @@ -69,8 +69,8 @@ typedef struct _eo_property { Property_Type type; Eo_Ret ret; - char *name; - char *comment; + const char *name; + const char *comment; Eina_List *params; } Eo_Property; @@ -79,8 +79,8 @@ typedef struct _eo_property typedef struct _eo_method { Eo_Ret ret; - char *name; - char *comment; + const char *name; + const char *comment; Eina_List *params; } Eo_Method; @@ -88,8 +88,8 @@ typedef struct _eo_method typedef struct _eo_class { - char *name; - char *comment; + const char *name; + const char *comment; Eina_List *inherits; Eina_List *properties; Eina_List *methods; -- cgit v1.1-2-g2b99