blob: 951369a9f609c6119c088c5a442e879cbbb5a383 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* file : timer.h
* author : JC Hoelt <jeko@free.fr>
*
* birth : 2001-03-03 13:42
* version : 2001-03-03 13:42
*
* content : the function to manipulate the time.
*
* this functions are implemented on an os-dependant directory.
*/
#ifndef _GMTIMER_H
#define _GMTIMER_H
#include "goom_config.h"
typedef void GMTimer;
/************** functions **************/
/* initialize the timer. do nothing if the timer has ever been initialized */
GMTimer *gmtimer_new ();
/* close the timer. do nothing if the timer hasn't been initialized */
void gmtimer_delete (GMTimer ** t);
/* return the number of seconds since the initialization of the timer */
float gmtimer_getvalue (GMTimer *);
#endif /* _GMTIMER_H */
|