diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-23 17:44:29 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-23 17:44:29 +0100 |
commit | fd16225902751a881e4da2161e20822c387113b9 (patch) | |
tree | 00b3b84b38c582887c6a05f9add3f62f518a3629 | |
parent | 854f8019ce21a42e371224ac4c7e1230285fd015 (diff) | |
download | eo_tokenizer-fd16225902751a881e4da2161e20822c387113b9.zip eo_tokenizer-fd16225902751a881e4da2161e20822c387113b9.tar.gz |
structs char* goes const
-rw-r--r-- | eo_tokenizer.h | 22 |
1 files 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; |