py_bindproperty method

void py_bindproperty(
  1. int type,
  2. Pointer<Char> name,
  3. py_CFunction getter,
  4. py_CFunction setter,
)

Bind a property to type. @param type the target type. @param name name of the property. @param getter getter function. @param setter setter function. Use NULL if not needed.

Implementation

void py_bindproperty(
  int type,
  ffi.Pointer<ffi.Char> name,
  py_CFunction getter,
  py_CFunction setter,
) {
  return _py_bindproperty(
    type,
    name,
    getter,
    setter,
  );
}