#how to cast it to array

1 messages · Page 1 of 1 (latest)

lyric cradle
#

Try transmute(^[1]u8)&greet ?

#

Oh wait I guess that is what you did

#

You could try transmute it first to a [1]u8

#

Like just transmute([1]u8)z

twilit dome
#

when you transmute data both parts must be the same size. if you don't know the size you can use size_of()
and you can't transmute a type.

z := greet{1} 
x := transmute([1]u8)z
lyric cradle
#

and forever into the void it went