Skip to main content

spir_kernel_release

Function spir_kernel_release 

Source
#[unsafe(no_mangle)]
pub extern "C" fn spir_kernel_release(kernel: *mut spir_kernel)
Expand description

Manual release function (replaces macro-generated one)

ยงSafety

This function drops the kernel. The inner KernelType data is automatically freed by the Drop implementation when the spir_kernel structure is dropped.