Example #1
0
func longCheck(obj Object) bool {
	if obj == nil {
		return false
	}
	return C.longCheck(c(obj)) != 0
}
Example #2
0
File: long.go Project: MogeiWang/py
func AsLong(o *Base) (v *Long, ok bool) {
	if ok = C.longCheck(o.c()) != 0; ok {
		v = newLong(o.c())
	}
	return
}