// native returns a pointer to the underlying GCancellable. func (v *Cancellable) native() *C.GCancellable { if v == nil || v.GObject == nil { return nil } p := unsafe.Pointer(v.GObject) return C.toGCancellable(p) }
func (v *Cancellable) toCancellable() *C.GCancellable { if v == nil { return nil } return C.toGCancellable(unsafe.Pointer(v.GObject)) }