py_peek method

py_StackRef py_peek(
  1. int i
)

Get the i-th object from the top of the stack. i should be negative, e.g. (-1) means TOS.

Implementation

py_StackRef py_peek(
  int i,
) {
  return _py_peek(
    i,
  );
}