Skip to content

Conversation

@Notify-ctrl
Copy link

本质上将获取userdata值的代码抽成函数,然后复用给了table

解决 #336

Comment on lines +526 to +528
local ret1, ret2 = varGetStringValueFromMetaMethod(value, "userdata", allow_lazy)
if ret1 then
return ret1, ret2
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

varGetUserdata会有三个返回值

@actboy168
Copy link
Owner

我觉得没必要合并成一个函数,不同的类型需求并不完全一致,比如table就没必要有__name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants