lua-protobuf icon indicating copy to clipboard operation
lua-protobuf copied to clipboard

Fix for embedded system

Open surfskidude opened this issue 2 years ago • 2 comments

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

surfskidude avatar Jan 08 '23 16:01 surfskidude

Thanks for contribution! you could just send a Pull Request for me, and I'll be very happy to merge it!

starwing avatar Jan 09 '23 08:01 starwing

I sent a Pull Request. Let me know if the changes are acceptable.

surfskidude avatar Jan 11 '23 18:01 surfskidude