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

[unreal] toCpp for const char* #1679

Closed
wants to merge 1 commit into from
Closed

Conversation

zombieyang
Copy link
Contributor

不加这个的话,binding带有const char*参数的函数会编译不过。

因为有StringHolder这个逻辑,这个函数实际上不会走到,仅为了编译通过而添加

@chexiongsheng
Copy link
Collaborator

什么平台哪个版本的编译器呢?
不加这个的好处是如果没走我们期待的流程是报编译错误,而不是得等到运行时才发现。

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.

None yet

2 participants