forked from enlightenment/efl
Place pre-conditions where they belong
Remove unused rectangle functions SVN revision: 35634
This commit is contained in:
parent
89911e0559
commit
7ae301f601
|
@ -77,24 +77,6 @@ static inline Eina_Bool
|
|||
eina_rectangles_intersect(Eina_Rectangle *r1, Eina_Rectangle *r2)
|
||||
{
|
||||
return (eina_spans_intersect(r1->x, r1->w, r2->x, r2->w) && eina_spans_intersect(r1->y, r1->h, r2->y, r2->h));
|
||||
}
|
||||
/**
|
||||
* To be documented
|
||||
* FIXME: To be fixed
|
||||
*/
|
||||
static inline Eina_Bool
|
||||
eina_rectangle_hspan_inside(Eina_Rectangle *r, int x, int l)
|
||||
{
|
||||
|
||||
}
|
||||
/**
|
||||
* To be documented
|
||||
* FIXME: To be fixed
|
||||
*/
|
||||
static inline Eina_Bool
|
||||
eina_rectangle_vspan_inside(Eina_Rectangle *r, int y, int l)
|
||||
{
|
||||
|
||||
}
|
||||
/**
|
||||
* To be documented
|
||||
|
|
|
@ -144,9 +144,11 @@ EAPI void eina_error_print(Eina_Error_Level level, const char *file,
|
|||
{
|
||||
va_list args;
|
||||
|
||||
if (level > _error_level)
|
||||
return;
|
||||
|
||||
va_start(args, fmt);
|
||||
if (level <= _error_level)
|
||||
_print_cb(level, file, fnc, line, fmt, _print_cb_data, args);
|
||||
_print_cb(level, file, fnc, line, fmt, _print_cb_data, args);
|
||||
va_end(args);
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue