Its driving me crazy, why is this not working ?
JsVar *r = jsvNewFromString("hugo");
I get this
That should work fine. When/where are you calling it? Is it possible you are calling it before the JsVars have been initialised, so it's unable to allocate anything?
Yes, thats the point, thanks a lot.
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