#[daft_extension]Expand description
Generates the daft_module_magic entry point for a Daft extension module.
Place this attribute on a struct that implements DaftExtension. The macro
generates the #[no_mangle] pub extern "C" fn daft_module_magic() symbol
that Daft’s module loader resolves via dlopen.
§Example
ⓘ
use daft_ext::prelude::*;
#[daft_extension]
struct MyExtension;
impl DaftExtension for MyExtension {
fn install(session: &mut dyn DaftSession) {
// register scalar functions here
}
}