How can we make this constChar type main stream so that every C wrapper library does not need to define this. Those libraries would also need to export this type and then we will end up with type clashes if a user imports multiple of such libraries.
As the type is a distinct type, we cannot use this type until we define $, [] and may be more low level ops.
Do you have a full-fledged library for these const types?
Is there a plan to bake this into a nim stdlib?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello, thanks for sharing this! I was led to this post from this recent question post on const char by me on Nim Forums.
As a follow up, I am some basic questions ..
constChartype main stream so that every C wrapper library does not need to define this. Those libraries would also need to export this type and then we will end up with type clashes if a user imports multiple of such libraries.$,[]and may be more low level ops.