Carp icon indicating copy to clipboard operation
Carp copied to clipboard

refactor: make fread more general

Open scolsen opened this issue 3 years ago • 1 comments

fread can technically accept any object -- it takes a void pointer. Our current implementation assumes the object is a String, which limits the applicability of this function. This change alters the definition to accept any type.

scolsen avatar Apr 22 '22 01:04 scolsen

If anyone has good ideas around how to do this in a way that won't break existing callers, please share!

scolsen avatar Apr 22 '22 01:04 scolsen