示例#1
0
文件: dict.go 项目: gbbr/textmate
func dictCheck(obj Object) bool {
	if obj == nil {
		return false
	}
	return C.dictCheck(c(obj)) != 0
}
示例#2
0
文件: dict.go 项目: MogeiWang/py
func AsDict(o *Base) (v *Dict, ok bool) {
	if ok = C.dictCheck(o.c()) != 0; ok {
		v = newDict(o.c())
	}
	return
}