Пример #1
0
func intCheck(obj Object) bool {
	if obj == nil {
		return false
	}
	return C.intCheck(c(obj)) != 0
}
Пример #2
0
func AsInt(o *Base) (v *Int, ok bool) {
	if ok = C.intCheck(o.c()) != 0; ok {
		v = newInt(o.c())
	}
	return
}