e_main_ts() now returns the elapsed time since the last call
SVN revision: 74429
This commit is contained in:
parent
0f09ff1e46
commit
bb711a6526
|
@ -227,7 +227,7 @@ typedef struct _E_Rect E_Rect;
|
||||||
|
|
||||||
EAPI E_Before_Idler *e_main_idler_before_add(int (*func) (void *data), void *data, int once);
|
EAPI E_Before_Idler *e_main_idler_before_add(int (*func) (void *data), void *data, int once);
|
||||||
EAPI void e_main_idler_before_del(E_Before_Idler *eb);
|
EAPI void e_main_idler_before_del(E_Before_Idler *eb);
|
||||||
EAPI void e_main_ts(const char *str);
|
EAPI double e_main_ts(const char *str);
|
||||||
|
|
||||||
struct _E_Before_Idler
|
struct _E_Before_Idler
|
||||||
{
|
{
|
||||||
|
|
|
@ -1154,10 +1154,11 @@ e_main_idler_before_del(E_Before_Idler *eb)
|
||||||
eb->delete_me = 1;
|
eb->delete_me = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI double
|
||||||
e_main_ts(const char *str)
|
e_main_ts(const char *str)
|
||||||
{
|
{
|
||||||
TS(str);
|
TS(str);
|
||||||
|
return t1 - t2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* local functions */
|
/* local functions */
|
||||||
|
|
Loading…
Reference in New Issue