File: Time.h

package info (click to toggle)
oo2c32 1.5.0-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 8,748 kB
  • ctags: 5,415
  • sloc: ansic: 95,007; sh: 473; makefile: 344; perl: 57; lisp: 21
file content (51 lines) | stat: -rw-r--r-- 2,864 bytes parent folder | download | duplicates (2)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* file generated by oo2c -- do not edit */
#ifndef _MODULE_Time_
#define _MODULE_Time_

#define Time__msecPerSec 1000
#define Time__msecPerMin 60000
#define Time__msecPerHour 3600000
#define Time__msecPerDay 86400000
typedef struct Time__TimeStamp {
  int days;
  int msecs;
} Time__TimeStamp;
typedef struct Time__Interval {
  int dayInt;
  int msecInt;
} Time__Interval;
extern void Time__InitTimeStamp(Time__TimeStamp *t, _Type t__tag, int days, int msecs);
extern void Time__GetTime(Time__TimeStamp *t, _Type t__tag);
extern void Time__InitInterval(Time__Interval *int_, _Type int___tag, int days, int msecs);
#define _TBP_Time__TimeStamp_Add void(*)(Time__TimeStamp *a, _Type a__tag, const Time__Interval *b)
#define _TBN_Time__TimeStamp_Add 0
extern void Time__TimeStamp_Add(Time__TimeStamp *a, _Type a__tag, const Time__Interval *b);
#define _TBP_Time__TimeStamp_Sub void(*)(Time__TimeStamp *a, _Type a__tag, const Time__Interval *b)
#define _TBN_Time__TimeStamp_Sub 1
extern void Time__TimeStamp_Sub(Time__TimeStamp *a, _Type a__tag, const Time__Interval *b);
#define _TBP_Time__TimeStamp_Delta void(*)(Time__TimeStamp *a, _Type a__tag, const Time__TimeStamp *b, Time__Interval *c, _Type c__tag)
#define _TBN_Time__TimeStamp_Delta 2
extern void Time__TimeStamp_Delta(Time__TimeStamp *a, _Type a__tag, const Time__TimeStamp *b, Time__Interval *c, _Type c__tag);
#define _TBP_Time__TimeStamp_Cmp signed char(*)(Time__TimeStamp *a, _Type a__tag, const Time__TimeStamp *b)
#define _TBN_Time__TimeStamp_Cmp 3
extern signed char Time__TimeStamp_Cmp(Time__TimeStamp *a, _Type a__tag, const Time__TimeStamp *b);
#define _TBP_Time__Interval_Add void(*)(Time__Interval *a, _Type a__tag, const Time__Interval *b__ref)
#define _TBN_Time__Interval_Add 0
extern void Time__Interval_Add(Time__Interval *a, _Type a__tag, const Time__Interval *b__ref);
#define _TBP_Time__Interval_Sub void(*)(Time__Interval *a, _Type a__tag, const Time__Interval *b__ref)
#define _TBN_Time__Interval_Sub 1
extern void Time__Interval_Sub(Time__Interval *a, _Type a__tag, const Time__Interval *b__ref);
#define _TBP_Time__Interval_Cmp signed char(*)(Time__Interval *a, _Type a__tag, const Time__Interval *b)
#define _TBN_Time__Interval_Cmp 2
extern signed char Time__Interval_Cmp(Time__Interval *a, _Type a__tag, const Time__Interval *b);
#define _TBP_Time__Interval_Scale void(*)(Time__Interval *a, _Type a__tag, double b)
#define _TBN_Time__Interval_Scale 3
extern void Time__Interval_Scale(Time__Interval *a, _Type a__tag, double b);
#define _TBP_Time__Interval_Fraction double(*)(Time__Interval *a, _Type a__tag, const Time__Interval *b)
#define _TBN_Time__Interval_Fraction 4
extern double Time__Interval_Fraction(Time__Interval *a, _Type a__tag, const Time__Interval *b);
extern struct _TD Time__TimeStamp_td;
extern struct _TD Time__Interval_td;
extern void Time_init(void);

#endif