-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fixes #9940; genericAssign does not take care of the importC variables in refc [backport] #23761
Conversation
type
Atomic*[T] {.importcpp: "std::atomic", completeStruct.} = object
## An atomic object with underlying type `T`.
raw: T
ref #12726 type Atomic*[T]{.importcpp: "std::atomic", size:sizeof(T).} = object It would be great to have this instead. Otherwise contrived fields really hurt the interoperability with c/cpp backends. |
Yeah we need to fix |
Thanks for your hard work on this PR! Hint: mm: orc; opt: speed; options: -d:release |
fixes nim-lang#24159, refs nim-lang#23761, refs nim-lang#15928, alternative to nim-lang#24166
fixes nim-lang#24159, refs nim-lang#23761, refs nim-lang#15928, alternative to nim-lang#24166
fixes #9940