jwerle / b64.c

Base64 encode/decode
MIT License
269 stars 103 forks source link

Added support for custom malloc functions #12

Closed d21d3q closed 7 years ago

d21d3q commented 7 years ago

On systems which have their own implementation of malloc, relaloc functions it is essential to be able to specify their names on compilation time without including extra header files. For example FreeRTOS have its own malloc (with different name). Another thing is that not always malloc allows for allocating zero bytes.

d21d3q commented 7 years ago

I guess that I was checking if my -D defines work well and don't get lost in nested makefiles. All in all it was meant to be temporary. Next week I will remove it an firstly run Travis on my own branch.

jwerle commented 7 years ago

Awesome. I'll approve and merge as soon as you make that change ! Thanks :]

On Apr 28, 2017 7:49 PM, "Zdzisław Krajewski" notifications@github.com wrote:

I guess that I was checking if my -D defines work well and don't get lost in nested makefiles. All in all it was meant to be temporary. Next week I will remove it an firstly run Travis on my own branch.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/littlstar/b64.c/pull/12#issuecomment-298131109, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZSvWKVfdqSg1WiwxIu2_p238o7_JXuks5r0nsTgaJpZM4MMIyz .