1 // Test a bunch of different calls.
11 public class calls
extends base
15 System
.loadLibrary ("calls");
18 public native int docall ();
25 public char char_f (int z
)
27 return (char) ('a' + z
);
35 public static long long_f (long q
)
40 public static long longpb_f (byte b1
, long q1
, byte b2
, long q2
,
43 return q1
+ q2
+ q3
+ 3023;
48 System
.out
.println ("void");
51 public static short short_f ()
56 public double double_f ()
61 public float float_f ()
66 public static void main (String
[] args
)
68 calls c
= new calls ();
70 System
.out
.println ("fail");