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

struct 类型的函数参数 #528

Closed
jackie-rachel opened this issue Aug 2, 2023 · 1 comment
Closed

struct 类型的函数参数 #528

jackie-rachel opened this issue Aug 2, 2023 · 1 comment

Comments

@jackie-rachel
Copy link

struct类型的函数参数如何传参

@shenyushun
Copy link

中括号包起来,按定义顺序逗号分割。

比如
["0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174","0xc2132D05D31c914a87C6611C10748AEb04B58e8F","0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",500,10]

@XdpCs XdpCs closed this as completed Nov 1, 2024
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