test_llvm.c 435 Bytes
Newer Older
1
2
3
#include <math.h>
#include <stdio.h>

dbarbera's avatar
dbarbera committed
4
extern void myfunction_startup();
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24


void myfunction_RI_result_data(long long *val)
{
    printf("[C] result_data: %lld\n", *val);
}

void myfunction_RI_set_mytimer(long long *val)
{
    printf("[C] SET MyTimer: %lld\n", *val);
}

void myfunction_RI_reset_mytimer()
{
    printf("RESET MyTimer\n");
}

int main()
{
    printf("[C Code] Running test\n");
dbarbera's avatar
dbarbera committed
25
26
    myfunction_startup();

27
28
29
    return 0;
}