会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
勇—钢与铁
CSDN: https://blog.csdn.net/qq_14914623
新随笔
管理
2021年5月10日
Lua __call
摘要: local event={}event.__call=function(self) print(self.a)endlocal t=setmetatable({a=1},event)t()输出结果为:1
阅读全文
posted @ 2021-05-10 14:37 钢与铁
阅读(415)
评论(0)
推荐(0)
编辑