#include <stdio.h>
#include <unistd.h>
Go to the source code of this file.
Functions | |
double | call_ffunc () |
long | call_ifunc () |
int | double_test (long n, double d1, double d2, double d3, double d4) |
int | dv_test (int n, double *src) |
int | float_test (int n, float f1, float f2, float f3, float f4) |
int | fv_test (int n, float *src) |
long | get_size_of_double () |
long | get_size_of_float32 () |
long | get_size_of_int () |
long | get_size_of_long () |
long | get_size_of_pointer () |
int | int_test (long l, int i, short s) |
int | iv_test (int n, int *src) |
int | lv_test (int n, long *src) |
double | ret_double (double a, double b) |
float | ret_float (double a, double b) |
long | ret_long (long a, long b) |
long | set_ffunc (double(*f)()) |
long | set_ifunc (long(*f)()) |
int | str_test (int n, char *src) |
double | test_testd (long i0, long i1, long i2, long i3, long i4, long i5, double d0, double d1, double d2, double d3, double d4, double d5, double d6, double d7, double d8, double d9, long i6, long i7) |
double | test_testd2 (long i0, long i1, long i2, long i3, long i4, long i5, double d0, double d1, double d2, double d3, double d4, double d5, double d6, double d7, double d8, double d9, double d10, long i6, long i7) |
Variables | |
static long(* | g )() |
static double(* | gf )(long i0, long i1, long i2, long i3, long i4, long i5, double d0, double d1, double d2, double d3, double d4, double d5, double d6, double d7, double d8, double d9, long i6, long i7) |
double call_ffunc | ( | ) |
Definition at line 188 of file test_foreign.c.
long call_ifunc | ( | ) |
Definition at line 183 of file test_foreign.c.
int double_test | ( | long | n, |
double | d1, | ||
double | d2, | ||
double | d3, | ||
double | d4 | ||
) |
Definition at line 20 of file test_foreign.c.
int dv_test | ( | int | n, |
double * | src | ||
) |
Definition at line 69 of file test_foreign.c.
int float_test | ( | int | n, |
float | f1, | ||
float | f2, | ||
float | f3, | ||
float | f4 | ||
) |
Definition at line 4 of file test_foreign.c.
int fv_test | ( | int | n, |
float * | src | ||
) |
Definition at line 58 of file test_foreign.c.
long get_size_of_double | ( | ) |
Definition at line 206 of file test_foreign.c.
long get_size_of_float32 | ( | ) |
Definition at line 202 of file test_foreign.c.
long get_size_of_int | ( | ) |
Definition at line 214 of file test_foreign.c.
long get_size_of_long | ( | ) |
Definition at line 210 of file test_foreign.c.
long get_size_of_pointer | ( | ) |
Definition at line 198 of file test_foreign.c.
int int_test | ( | long | l, |
int | i, | ||
short | s | ||
) |
Definition at line 89 of file test_foreign.c.
int iv_test | ( | int | n, |
int * | src | ||
) |
Definition at line 36 of file test_foreign.c.
int lv_test | ( | int | n, |
long * | src | ||
) |
Definition at line 47 of file test_foreign.c.
double ret_double | ( | double | a, |
double | b | ||
) |
Definition at line 105 of file test_foreign.c.
float ret_float | ( | double | a, |
double | b | ||
) |
Definition at line 97 of file test_foreign.c.
long ret_long | ( | long | a, |
long | b | ||
) |
Definition at line 113 of file test_foreign.c.
long set_ffunc | ( | double(*)() | f | ) |
Definition at line 172 of file test_foreign.c.
long set_ifunc | ( | long(*)() | f | ) |
Definition at line 166 of file test_foreign.c.
int str_test | ( | int | n, |
char * | src | ||
) |
Definition at line 80 of file test_foreign.c.
double test_testd | ( | long | i0, |
long | i1, | ||
long | i2, | ||
long | i3, | ||
long | i4, | ||
long | i5, | ||
double | d0, | ||
double | d1, | ||
double | d2, | ||
double | d3, | ||
double | d4, | ||
double | d5, | ||
double | d6, | ||
double | d7, | ||
double | d8, | ||
double | d9, | ||
long | i6, | ||
long | i7 | ||
) |
Definition at line 121 of file test_foreign.c.
double test_testd2 | ( | long | i0, |
long | i1, | ||
long | i2, | ||
long | i3, | ||
long | i4, | ||
long | i5, | ||
double | d0, | ||
double | d1, | ||
double | d2, | ||
double | d3, | ||
double | d4, | ||
double | d5, | ||
double | d6, | ||
double | d7, | ||
double | d8, | ||
double | d9, | ||
double | d10, | ||
long | i6, | ||
long | i7 | ||
) |
Definition at line 139 of file test_foreign.c.
long(* g)() [static] |
Definition at line 158 of file test_foreign.c.
double(* gf)(long i0, long i1, long i2, long i3, long i4, long i5, double d0, double d1, double d2, double d3, double d4, double d5, double d6, double d7, double d8, double d9, long i6, long i7) [static] |
Definition at line 159 of file test_foreign.c.