py_bindmagic method

void py_bindmagic(
  1. int type,
  2. py_Name name,
  3. py_CFunction f
)

Bind a magic method to type.

Implementation

void py_bindmagic(
  int type,
  py_Name name,
  py_CFunction f,
) {
  return _py_bindmagic(
    type,
    name,
    f,
  );
}