Turns out the platform I'm porting micropython for does not provide alloca.h. I did some research and best reference I could find was this one ftp://ftp.dante.de/tex-archive/fonts/ut ... f/alloca.c
(the only change I made was to use malloc instead of xmalloc.)
Any chance that is going to work?
No alloca.h
Re: No alloca.h
According to: http://www.delorie.com/djgpp/doc/libc/ (more specifically http://www.delorie.com/djgpp/doc/libc/libc_44.html) alloca is defined in stdlib.h
Re: No alloca.h
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/