Function yaslapi_sys::YASL_peekuserdata
source · pub unsafe extern "C" fn YASL_peekuserdata(
S: *mut YASL_State
) -> *mut c_voidExpand description
[-0, +0] Returns the userdata value of the top of the stack, if the top of the stack is a userdata. Otherwise returns NULL. Does not modify the stack. @param S the YASL_State. @return the userdata value on top of the stack, or NULL if it’s not a userdata.