Skip to main content

pxs_listget

Function pxs_listget 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pxs_listget( list: *mut pxs_Var, index: i32, ) -> *mut pxs_Var
Expand description

Get a item from a pxs_VarList.

Expcts a pointer to pxs_VarList. And a index of i32. Supports negative indexes just like in Python.

This will NOT return a cloned variable, you must NOT free it.