2.2.4使用 tolua.isnull 总是返回true
tolua.isnull(nil) – true
tolua.isnull({}) – true
tolua.isnull(“123”) – true
2.2.4使用 tolua.isnull 总是返回true
tolua.isnull(nil) – true
tolua.isnull({}) – true
tolua.isnull(“123”) – true
tolua.isnull是判断一个userdata是否存在或者已经被释放的。如果传入的参数不是userdata,当然会返回true。
多谢
