VS code attach to process

2024-05-07 Thread griffith1deady
can you share way todo?

Convert back cstring to string

2023-08-22 Thread griffith1deady
try use $myCString Run

How to pass a C array to a C function taking a pointer?

2023-07-06 Thread griffith1deady
i think you can use ptr UncheckedArray[uint8] to create array: var array = cast[ptr UncheckedArray[uint8]](https://forum.nim-lang.org/alloc\(sizeof\(uint8\) * size\))

linking

2023-07-04 Thread griffith1deady
you can define --forceBuild:off like this: nim c --forceBuild:off main.nim in my case with nimraylib_now this fixed issue