Thank you! But what if, for example, I wanted to pass a pointer to the data to a C function? Suppose I know for sure it won't mutate the data, and I want my function signature to reflect this. Is there way to force Nim to give me an address?
- Referring to an immutable object's field? StasB
- Re: Referring to an immutable object's field? twetzel59
- Re: Referring to an immutable object's field? StasB
- Re: Referring to an immutable object's field? Stefan_Salewski
- Re: Referring to an immutable object's fi... twetzel59
- Re: Referring to an immutable object... twetzel59
- Re: Referring to an immutable ob... StasB
- Re: Referring to an immutabl... twetzel59
- Re: Referring to an immutabl... StasB
- Re: Referring to an immutabl... twetzel59
- Re: Referring to an immutabl... twetzel59
- Re: Referring to an immutabl... StasB