Skip to content

refactor: make fread more general#1421

Open
scolsen wants to merge 1 commit intocarp-lang:masterfrom
scolsen:fread
Open

refactor: make fread more general#1421
scolsen wants to merge 1 commit intocarp-lang:masterfrom
scolsen:fread

Conversation

@scolsen
Copy link
Contributor

@scolsen scolsen commented Apr 22, 2022

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.

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
Copy link
Contributor Author

scolsen commented Apr 22, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant