summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-01-08 11:10:48 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-01-08 11:10:48 +0100
commit7831150d7d155317c7fe5ca19a0ccc4aac0ab371 (patch)
tree8439bb48c09b9b492179141f14156f36ae14a00c
parent4c5291102d1a8d6d69bf22943868bccc86201dc6 (diff)
downloadefl-7831150d7d155317c7fe5ca19a0ccc4aac0ab371.tar.gz
eo2: normalize ERR msgs
-rw-r--r--src/lib/eo/eo.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 37103df57b..148be51f88 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -108,7 +108,7 @@ _dich_func_set(_Eo_Class *klass, Eo_Op op, eo_op_func_type func)
{
const _Eo_Class *op_kls = _eo_op_class_get(op);
const char *op_name = _eo_op_id_name_get(op, op_kls->desc->version);
- ERR("Already set function for op %d (%s:'%s'). Overriding %p with %p",
+ ERR("Already set function for op %d (%s:'%s'). Overriding %p with %p.",
op, op_kls->desc->name, op_name, fsrc->func, func);
}
@@ -505,7 +505,7 @@ _eo2_call_resolve(const char *func_name, const Eo_Op op, Eo2_Op_Call_Data *call,
if (EINA_UNLIKELY(func == NULL))
{
- ERR("in %s:%d: you called func '%s' (%d) which is unknown in class '%s'",
+ ERR("in %s:%d: you called func '%s' (%d) which is unknown in class '%s'.",
file, line, func_name, op, klass->desc->name);
return EINA_FALSE;
}
@@ -539,7 +539,7 @@ _eo2_call_resolve(const char *func_name, const Eo_Op op, Eo2_Op_Call_Data *call,
if (func->src != NULL)
{
- ERR("in %s:%d: you called a pure virtual func '%s' (%d)",
+ ERR("in %s:%d: you called a pure virtual func '%s' (%d).",
file, line, func_name, op);
return EINA_FALSE;
}
@@ -579,13 +579,13 @@ end:
/* If it's a do_super call. */
if (fptr->cur_klass)
{
- ERR("in %s:%d: func '%s' (%d) could not be resolved for class '%s' for super of '%s'",
+ ERR("in %s:%d: func '%s' (%d) could not be resolved for class '%s' for super of '%s'.",
file, line, func_name, op, main_klass->desc->name,
fptr->cur_klass->desc->name);
}
else
{
- ERR("in %s:%d: func '%s' (%d) could not be resolved for class '%s'",
+ ERR("in %s:%d: func '%s' (%d) could not be resolved for class '%s'.",
file, line, func_name, op, main_klass->desc->name);
}
}
@@ -658,7 +658,7 @@ _eo2_api_op_id_get(const void *api_func, const char *file, int line)
if (desc == NULL)
{
- ERR("in %s:%d: unable to resolve %s api func %p",
+ ERR("in %s:%d: unable to resolve %s api func %p.",
file, line, (class_ref ? "class" : "regular"), api_func);
return EO_NOOP;
}
@@ -1785,7 +1785,7 @@ eo_error_set_internal(const Eo *obj_id, const char *file, int line)
{
EO_OBJ_POINTER_RETURN(obj_id, obj);
- ERR("Error with obj '%p' at %s:%d", obj, file, line);
+ ERR("Error with obj '%p' at %s:%d.", obj, file, line);
obj->do_error = EINA_TRUE;
}
@@ -1925,7 +1925,7 @@ eo_data_scope_get(const Eo *obj_id, const Eo_Class *klass_id)
#ifdef EO_DEBUG
if (!ret && (klass->desc->data_size == 0))
{
- ERR("Tried getting data of class '%s', but it has none..", klass->desc->name);
+ ERR("Tried getting data of class '%s', but it has none.", klass->desc->name);
}
#endif
@@ -1958,7 +1958,7 @@ eo_data_xref_internal(const char *file, int line, const Eo *obj_id, const Eo_Cla
#ifdef EO_DEBUG
if (klass && !ret && (klass->desc->data_size == 0))
{
- ERR("Tried getting data of class '%s', but it has none..", klass->desc->name);
+ ERR("Tried getting data of class '%s', but it has none.", klass->desc->name);
}
#endif
@@ -1991,7 +1991,7 @@ eo_init(void)
_eo_log_dom = eina_log_domain_register(log_dom, EINA_COLOR_LIGHTBLUE);
if (_eo_log_dom < 0)
{
- EINA_LOG_ERR("Could not register log domain: %s", log_dom);
+ EINA_LOG_ERR("Could not register log domain: %s.", log_dom);
return EINA_FALSE;
}