Skip to content

add realloc() function + implementation - #9

Open
nuclearpidgeon wants to merge 2 commits into
wingo:masterfrom
nuclearpidgeon:realloc
Open

nuclearpidgeon wants to merge 2 commits into
wingo:masterfrom
nuclearpidgeon:realloc

Conversation

@nuclearpidgeon

Copy link
Copy Markdown

Addresses #5. I picked up this library to have a light-weight malloc, but the project I'm using also needed realloc().

It might be nicer for this function to be in a separate .c file to make compiling it optional. I'm happy to re-work it that way if that's something more preferred for merging - however it might also require refactoring the type definitions and #defines into a separate .h file.

@nuclearpidgeon

Copy link
Copy Markdown
Author

There's a spec of the realloc() function over at https://pubs.opengroup.org/onlinepubs/9799919799/ that might be useful reference

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