module core.c.config
C Bindings | C Standard Library Bindings

This file contains type aliases needed to interface with C code.

Even if the current target does not interface with any C code, like standalone linux target, certain OS types are defined to the same as C types. Make this the one true place where they are defined.

Code Map

//! This file contains type aliases needed to interface with C code.
module core.c.config;


//! Volt doesn't have long and unsigned long in the same way that C does,
//! whos typesdefs changes size depending on bitness of the target and of
//! the target os.
alias c_long = i64;
//! Volt doesn't have long and unsigned long in the same way that C does,
//! whos typesdefs changes size depending on bitness of the target and of
//! the target os.
alias c_ulong = u64;
alias c_long

Volt doesn't have long and unsigned long in the same way that C does, whos typesdefs changes size depending on bitness of the target and of the target os.

alias c_ulong

Volt doesn't have long and unsigned long in the same way that C does, whos typesdefs changes size depending on bitness of the target and of the target os.