Function kdb_c_api::new_long [−][src]
pub fn new_long(long: J) -> K
Expand description
Constructor of q long object. Relabeling of kj
.
Example
use kdb_c_api::*; #[no_mangle] pub extern "C" fn create_long(_: K) -> K{ new_long(-668541276001729000) }
q)lengthy: `libc_api_examples 2: (`create_long; 1);
q)lengthy[]
-668541276001729000