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

About System.Span and System.ReadOnlySpan #242

Open
JiekeZhu opened this issue Nov 6, 2021 · 6 comments
Open

About System.Span and System.ReadOnlySpan #242

JiekeZhu opened this issue Nov 6, 2021 · 6 comments

Comments

@JiekeZhu
Copy link

JiekeZhu commented Nov 6, 2021

Hi there,
To improve the performance, a lot of new APIs in .net are using System.Span and System.ReadOnlySpan.
And then the code generated fails to be compiled. Like this,
StackTraits<System.ReadOnlySpan>.Check(L, 2);
Any plan to solve this issue ?
你好,
ToLua 自动生成的代码中,System.Span 和 System.ReadOnlySpan的类型检查 编译不过。有打算增加修改来支持吗?
谢谢!
Br.

@ruaruaburua
Copy link

同遇到,刚升级unity2021

@zkn714247318
Copy link

这个问题 有人解决没

@ruaruaburua
Copy link

ruaruaburua commented Nov 15, 2022 via email

@zkn714247318
Copy link

zkn714247318 commented Nov 15, 2022 via email

@zkn714247318
Copy link

我们的方案是把含有这个参数的方法都过滤掉了

---Original--- From: @.> Date: Tue, Nov 15, 2022 10:28 AM To: @.>; Cc: @.@.>; Subject: Re: [topameng/tolua] About System.Span and System.ReadOnlySpan (Issue#242) 这个问题 有人解决没 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

菜鸟一枚,能问下具体在哪个函数改么?

@ruaruaburua
Copy link

ruaruaburua commented Nov 15, 2022 via email

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

3 participants