Expand description
Raw FFI bindings to cuJSON.
Mirrors crates/cujson-sys/cuda/cujson_capi.h field-for-field and
function-for-function. #![no_std]-compatible: everything here is
#[repr(C)] primitives and raw pointers, no allocation.
Structs§
- cujson_
tape - Mirrors
cujson_tape(cujson_capi.h). Layout verified against a C compile of the header bytests/layout.rs(tier 1, no nvcc needed).
Constants§
- CUJSON_
ERR_ CUDA - CUJSON_
ERR_ EMPTY_ INPUT - CUJSON_
ERR_ INPUT_ TOO_ LARGE - CUJSON_
ERR_ INTERNAL - CUJSON_
ERR_ UNBALANCED - CUJSON_
ERR_ UTF8 - CUJSON_
OK
Type Aliases§
- cujson_
status - Mirrors
cujson_status(cujson_capi.h). A plaini32, not a Rustenum, because the value comes from C and an out-of-range value from a future header change must not be undefined behavior to hold.