Function kdb_c_api::new_int [−][src]
pub fn new_int(int: I) -> K
Expand description
Constructor of q int object. Relabeling of ki
.
Example
use kdb_c_api::*; #[no_mangle] pub extern "C" fn create_int(_: K) -> K{ new_int(86400000) }
q)trvial: `libc_api_examples 2: (`create_int; 1);
q)trivial[]
86400000i