Expand description
Defines primitive types that match C’s type definitions for FFI compatibility.
This module is intentionally standalone to facilitate parsing when retrieving core C types.
Modules§
Macros§
Type Aliases§
- c_char
- Equivalent to C’s
char
type. - c_
double - Equivalent to C’s
double
type. - c_float
- Equivalent to C’s
float
type. - c_int
- Equivalent to C’s
signed int
(int
) type. - c_long
- Equivalent to C’s
signed long
(long
) type. - c_
longlong - Equivalent to C’s
signed long long
(long long
) type. - c_schar
- Equivalent to C’s
signed char
type. - c_short
- Equivalent to C’s
signed short
(short
) type. - c_uchar
- Equivalent to C’s
unsigned char
type. - c_uint
- Equivalent to C’s
unsigned int
type. - c_ulong
- Equivalent to C’s
unsigned long
type. - c_
ulonglong - Equivalent to C’s
unsigned long long
type. - c_
ushort - Equivalent to C’s
unsigned short
type. - c_
ptrdiff_ t Experimental - Equivalent to C’s
ptrdiff_t
type, fromstddef.h
(orcstddef
for C++). - c_
size_ t Experimental - Equivalent to C’s
size_t
type, fromstddef.h
(orcstddef
for C++). - c_
ssize_ t Experimental - Equivalent to C’s
ssize_t
(on POSIX) orSSIZE_T
(on Windows) type.