Function kdbplus::api::native::dot [−][src]
pub unsafe extern "C" fn dot(func: K, args: K) -> K
Expand description
Apply a function to q list object .[func; args]
.
Example
use kdbplus::api::*; use kdbplus::api::native::*; #[no_mangle] pub extern "C" fn rust_parse(dollar: K, type_and_text: K) -> K{ unsafe{ dot(dollar, type_and_text) } }
q)rust_parse:`libc_api_examples 2: (`rust_parse; 2);
q)rust_parse[$; ("S"; "text")]
`text