Exemple #1
0
// Incref increments obj's reference count, obj may not be nil.
func (obj *AbstractObject) Incref() {
	C.incref(c(obj))
}
Exemple #2
0
// Incref increments obj's reference count, obj may not be nil.
func (obj *Base) Incref() {
	C.incref(obj.c())
}
Exemple #3
0
// Incref increments obj's reference count, obj may be nil.
func Incref(obj Object) {
	if obj != nil {
		C.incref(c(obj))
	}
}