aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffmpeg-0.7/test.pp
blob: 93ed8b460396cbc9f6f3e57d25aba9b88bee49c4 (plain) (blame)
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
unit test;
interface

{
  Automatically converted by H2Pas 1.0.0 from test.h
  The following command line parameters were used:
    test.h
}

{$IFDEF FPC}
{$PACKRECORDS C}
{$ENDIF}


{$include <stdint.h>}
{$include <limits.h>}
{$include "attributes.h"}
  {/< numerator }
  {/< denominator }

  type
    AVRational = record
        num : longint;
        den : longint;
      end;
(* error 
	int tmp;
 in declarator_list *)
(* error 
    if(tmp) return ((tmp ^ a.den ^ b.den)>>63)|1;
 in declarator_list *)
(* error 
    else if(b.den && a.den) return 0;
 in declarator_list *)
(* error 
    else if(a.num && b.num) return (a.num>>31) - (b.num>>31);
 in declarator_list *)
(* error 
    else                    return INT_MIN;
 in declarator_list *)
(* error 
}

implementation


end.