Function kdb_c_api::new_byte [−][src]
pub fn new_byte(byte: I) -> K
Expand description
Constructor of q byte object. Relabeling of kg
.
Example
use kdb_c_api::*; #[no_mangle] pub extern "C" fn create_byte(_: K) -> K{ new_byte(0x3c) }
q)create_byte: `libc_api_examples 2: (`create_byte; 1);
q)create_byte[]
0x3c