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

Bug fix: TemplateParamPointer for primitive type T should be T* #227

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

wavewave
Copy link
Owner

No description provided.

@wavewave
Copy link
Owner Author

This is not a full solution. we need to take care of C pointer types also in the interface.

@wavewave
Copy link
Owner Author

fortunately, i found a workaround by instantiating (Ptr primtype), not primtype directly. However, this solution will not work if the type parameter is used both pointer and non-pointer form in a single declaration.This is due to a fundamental difference in type model (in fficxx, meaningful C++ class type is a pointer) so not easy to solve. so will merge this PR as is.

@wavewave wavewave merged commit 7c06b4b into master Aug 16, 2023
4 checks passed
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

1 participant