Some times we need c functions, and jswrap method needs rewrite the c module less or more. FFI?
No, I'm afraid it's not going to. When I looked at it, it seemed way too heavyweight - and I'm also not convinced that ARM Thumb is supported?
Also, I'm not sure what you mean by rewrite, because you can use totally standard C functions (as long as they don't have overly complicated arguments). If someone wrote a script for it then a totally standard C file could be parsed and added without modification - the only issue comes when you try and access arrays/pointers, but you'll have problems with that anyway because of the way Espruino works to make the most of available memory.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem