Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

两个delegate,参数及返回值都相同,一个是可变参数,一个普通数组,会互相冲突,只有一个有效 #567

Closed
chexiongsheng opened this issue Mar 15, 2019 · 0 comments

Comments

@chexiongsheng
Copy link
Collaborator

比如如下两个delegate都加到CSharpCallLua
public delegate ICalc CalcNew(int mult, params string[] args);
Func<int, string[], ICalc>
其中一个会覆盖另外一个

onlyfeng added a commit to onlyfeng/xLua that referenced this issue Jun 4, 2019
* upstream/master: (39 commits)
  删除perflib.c
  fix: more rubost XLuaHotfixInject path combination (Tencent#595)
  解决如果枚举定义了很多个值(几千个),会触发unity在android下的一个bug:函数体很大而且有很多分支,执行该函数会crash
  反射wrap代码加入栈空间检查
  入群问题及答案相关说明
  luac编译文件连接
  luac编译的链接有误
  - add BlackList feature for macros (Tencent#579)
  xcode 10 for luajit compile
  更新ios.toolchain.cmake以解决新版cmake无法构建iOS版本 (Tencent#549)
  fix dependency alert
  删除lua53和luajit的对比
  fix Tencent#545
  例子及教程都加上名字空间,fix Tencent#556
  嵌套struct标注为PackAsTable时生成代码报错
  fix Tencent#567
  反射查找同名delegate桥接在不生成代码的时候表现不一致,这个commit引入的bug:Tencent@49461a1
  v2.1.14 changlog
  2.1.14版本图标修改
  更新2018兼容性问题的faq
  ...

# Conflicts:
#	build/make_ios_luajit.sh
ZeroKill1024 pushed a commit to ZeroKill1024/xLua that referenced this issue Apr 27, 2020
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

No branches or pull requests

1 participant