py_bindmethod method

void py_bindmethod(
  1. int type,
  2. Pointer<Char> name,
  3. py_CFunction f
)

Bind a method to type via "argc-based" style. @param type the target type. @param name name of the method. @param f function to bind.

Implementation

void py_bindmethod(
  int type,
  ffi.Pointer<ffi.Char> name,
  py_CFunction f,
) {
  return _py_bindmethod(
    type,
    name,
    f,
  );
}