Registry / utility / cty
library0.2.2rscratesunverified

Type aliases to C types like c_int for use with bindgen, enabling FFI with C libraries.

# Cargo.toml [dependencies] cty = "0.2.2"
INSTALL
IMPORT
SIG · CTY
C
cty
utilityrustv0.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

c_int
use cty::c_int;

Declares a variable of type c_int.

use cty::c_int; let x: c_int = 42;
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
11
Resources
cty — cargo add cty · libregistry