py_dict_getitem_by_str method

int py_dict_getitem_by_str(
  1. py_Ref self,
  2. Pointer<Char> key
)

-1: error, 0: not found, 1: found

Implementation

int py_dict_getitem_by_str(
  py_Ref self,
  ffi.Pointer<ffi.Char> key,
) {
  return _py_dict_getitem_by_str(
    self,
    key,
  );
}