parse functions should return the point where they left of.

SVN revision: 37168
This commit is contained in:
Sebastian Dransfeld 2008-10-26 20:05:59 +00:00
parent b41023437d
commit 6c3723225a
1 changed files with 4 additions and 2 deletions

View File

@ -196,7 +196,7 @@ struct ecore_evas_engine {
};
/* inline is just to avoid need to ifdef around it */
static inline void
static inline const char *
_ecore_evas_parse_extra_options_str(const char *extra_options, const char *key, char **value)
{
int len = strlen(key);
@ -229,10 +229,11 @@ _ecore_evas_parse_extra_options_str(const char *extra_options, const char *key,
extra_options = NULL;
}
}
return extra_options;
}
/* inline is just to avoid need to ifdef around it */
static inline void
static inline const char *
_ecore_evas_parse_extra_options_uint(const char *extra_options, const char *key, unsigned int *value)
{
int len = strlen(key);
@ -258,6 +259,7 @@ _ecore_evas_parse_extra_options_uint(const char *extra_options, const char *key,
else
extra_options = NULL;
}
return extra_options;
}
/* inline is just to avoid need to ifdef around it */