mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-10-12 08:15:06 +02:00
47 lines
826 B
Cython
47 lines
826 B
Cython
#if 0
|
|
''' '
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
struct NonZeroI64;
|
|
#endif
|
|
|
|
#if 0
|
|
' '''
|
|
#endif
|
|
|
|
|
|
from libc.stdint cimport int8_t, int16_t, int32_t, int64_t, intptr_t
|
|
from libc.stdint cimport uint8_t, uint16_t, uint32_t, uint64_t, uintptr_t
|
|
cdef extern from *:
|
|
ctypedef bint bool
|
|
ctypedef struct va_list
|
|
|
|
cdef extern from *:
|
|
|
|
ctypedef struct Option_i64:
|
|
pass
|
|
|
|
ctypedef struct NonZeroTest:
|
|
uint8_t a;
|
|
uint16_t b;
|
|
uint32_t c;
|
|
uint64_t d;
|
|
int8_t e;
|
|
int16_t f;
|
|
int32_t g;
|
|
int64_t h;
|
|
int64_t i;
|
|
const Option_i64 *j;
|
|
|
|
void root(NonZeroTest test,
|
|
uint8_t a,
|
|
uint16_t b,
|
|
uint32_t c,
|
|
uint64_t d,
|
|
int8_t e,
|
|
int16_t f,
|
|
int32_t g,
|
|
int64_t h,
|
|
int64_t i,
|
|
const Option_i64 *j);
|