pub unsafe extern "C" fn YASLX_checknfloat(
    S: *mut YASL_State,
    name: *const c_char,
    n: c_uint
) -> f64
Expand description

Returns the nth position of the stack if it is a float. Otherwise, causes a type error, along with a printed error message. @param S The YASL_State. @param name Name of the function in which this is called, used for error message. @param pos the position of the argument. @return the nth position of the stack if it’s a float, otherwise no return.