示例#1
0
文件: abstract.go 项目: gbbr/textmate
// Incref increments obj's reference count, obj may not be nil.
func (obj *AbstractObject) Incref() {
	C.incref(c(obj))
}
示例#2
0
文件: object.go 项目: MogeiWang/py
// Incref increments obj's reference count, obj may not be nil.
func (obj *Base) Incref() {
	C.incref(obj.c())
}
示例#3
0
文件: abstract.go 项目: gbbr/textmate
// Incref increments obj's reference count, obj may be nil.
func Incref(obj Object) {
	if obj != nil {
		C.incref(c(obj))
	}
}