示例#1
0
func floatCheck(obj Object) bool {
	return C.floatCheck(c(obj)) != 0
}
示例#2
0
文件: float.go 项目: MogeiWang/py
func AsFloat(o *Base) (v *Float, ok bool) {
	if ok = C.floatCheck(o.c()) != 0; ok {
		v = newFloat(o.c())
	}
	return
}