You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the C functions work, I think switching to C++ functions would be better.
The main reason is that they have the benefit of leveraging better mangling than C uses, and this would provide a safer binding layer when linking. That is, if the function signatures do not match there will be a linker error.
There will need to be some creativity happening as a few types will no longer match on both ends, but I think it would be worth it in the long run.
The text was updated successfully, but these errors were encountered:
While the C functions work, I think switching to C++ functions would be better.
The main reason is that they have the benefit of leveraging better mangling than C uses, and this would provide a safer binding layer when linking. That is, if the function signatures do not match there will be a linker error.
There will need to be some creativity happening as a few types will no longer match on both ends, but I think it would be worth it in the long run.
The text was updated successfully, but these errors were encountered: