Function kdb_c_api::new_char[][src]

pub fn new_char(character: char) -> K
Expand description

Constructor of q char object. Relabeling of kc.

Example

use kdb_c_api::*;
 
#[no_mangle]
pub extern "C" fn create_char2(_: K) -> K{
  new_char('t')
}
q)heavy: `libc_api_examples 2: (`create_char2; 1);
q)heavy[]
"t"