Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix for embedded system #234

Open
surfskidude opened this issue Jan 8, 2023 · 2 comments
Open

Fix for embedded system #234

surfskidude opened this issue Jan 8, 2023 · 2 comments

Comments

@surfskidude
Copy link

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

@starwing
Copy link
Owner

starwing commented Jan 9, 2023

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

@surfskidude
Copy link
Author

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants