py_getslot method

py_ObjectRef py_getslot(
  1. py_Ref self,
  2. int i
)

Get the i-th slot of the object. The object must have slots and i must be in valid range.

Implementation

py_ObjectRef py_getslot(
  py_Ref self,
  int i,
) {
  return _py_getslot(
    self,
    i,
  );
}