Skip to main content

pxs_newhost

Function pxs_newhost 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pxs_newhost( pixel_object: *mut pxs_PixelObject, ) -> *mut pxs_Var
Expand description

Make a new HostObject var.

If not a valid pointer, will return null

Transfers ownership