Open xrfez opened 1 year ago
Should this line be throwing a type mismatch? https://github.com/PMunch/futhark/blob/44a761d6ab69c2a979ed36d51a68e1b26e6a1d6b/tests/tcstring.nim#L9
Should I be using something like this?
doAssert my_func(cast[ptr Tchar]("hello".cstring)) == 5
Nim Compiler Version 1.6.12 [Windows: amd64] Compiled at 2023-03-10 Copyright (c) 2006-2023 by Andreas Rumpf active boot switches: -d:release
Should this line be throwing a type mismatch? https://github.com/PMunch/futhark/blob/44a761d6ab69c2a979ed36d51a68e1b26e6a1d6b/tests/tcstring.nim#L9
Should I be using something like this?