Debian Codegraph @

xs/cast.c

raw
1 #include "ffi_platypus.h"
2
3 #if SIZEOF_VOIDP == 4 && !defined(__hppa__)
4 uint64_t
5 cast0(void)
6 {
7 return 0LL;
8 }
9 #else
10 void *
11 cast0(void)
12 {
13 return NULL;
14 }
15 #endif
16
17 #if SIZEOF_VOIDP == 4 && !defined(__hppa__)
18 uint64_t
19 cast1(uint64_t value)
20 {
21 return value;
22 }
23 #else
24 void *
25 cast1(void *value)
26 {
27 return value;
28 }
29 #endif