lua-protobuf
lua-protobuf copied to clipboard
Fix for embedded system
I am using lua-protobuf on an RTOS powered microcontroller with nonstandard allocator and no file IO. I have not modified the C code logic in any way, I have just added some macros to make it possible to build the code. I have attached my version and was hoping you could incorporate the changes into your version. I have added options for excluding the file IO API and made it possible to use a different allocator. All changes I have done, including moving where lua.h is included, were required for my build. pb.tar.gz
Thanks for contribution! you could just send a Pull Request for me, and I'll be very happy to merge it!
I sent a Pull Request. Let me know if the changes are acceptable.