cpath
cpath copied to clipboard
A simple and nice looking cross platform C FileSystem with full C++ support
This will make some APIs more optimal at the cost of more allocations. For example, it'll reduce the number of copies we have to do in cpathPeekNextFile. This would also...
https://github.com/BraedonWooding/cpath/blob/ff6bfae65b4ae05dc3be838df9abe6b078ef15ee/cpath.h#L1064 Sets the input path. Also I'm not entirely sure why we are handling the case of non-restrict, I doubt that'll apply to both windows & linux so we can...
There are a few points in the API that are pretty messy. - Definition of constants - Lack of GDB/LLDB support for our CPP strings - Support C++ in windows...
To force the tests to pass
For some reason I've got some focus to push some changes on this... So going to work on fixing the failing tests!
Resolves #1
If you run anything that calls cpathGetNextFile in valgrind, it will also let you know about this issue. The problem is here: