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
it should be a var (because let needs an initializer which in this case is not provided in nim (it's done in the C library typically)
Of course, the main issue here is that Nim has no feature that expresses the concept of an extern const in general, so var is the closest that we can get.
The text was updated successfully, but these errors were encountered:
Header:
Command:
Output:
several problems with the generated definition:
importc: "xxx_symbol"
var
(becauselet
needs an initializer which in this case is not provided in nim (it's done in the C library typically)Of course, the main issue here is that Nim has no feature that expresses the concept of an
extern const
in general, sovar
is the closest that we can get.The text was updated successfully, but these errors were encountered: