Constant kdb_c_api::KNULL[][src]

pub const KNULL: K = 0 as K; // {0x0 as *mut k0}
Expand description

K nullptr. This value is used as general null returned value ((::)).

Example

use kdb_c_api::*;
 
#[no_mangle]
pub extern "C" fn vanity(_: K) -> K{
  println!("Initialized something, probably it is your mindset.");
  KNULL
}