7 struct timetable_timestamp
{
12 struct timetable_timestamp
*timestamps
;
13 unsigned int * const ptr
;
16 // no need to call this, it generates compiler error:
17 // Assertion failed: 0, file sdcc/src/SDCCopt.c, line 707
18 int timetable_timediff(struct timetable
*t
, const char *id1
)
22 for(i
= *t
->ptr
- 1; i
>= 0; --i
)
24 if(t
->timestamps
[i
].id
== id1
)