Architecture: Using the JsVar suite within C #4954
Replies: 1 comment
-
Posted at 2015-08-28 by @gfwilliams Afraid I'm off on holiday for this week, so won't be able to help out. Best bet is to take a look at other functions that do something similar to what you want though. Posted at 2015-08-28 by Kolban Bits are starting to come together. We can create a new object instance using Posted at 2015-09-07 by @gfwilliams
Yes, although for most functions I'd suggest returning basic objects, made with
Yes, spot on
Yes. Basically to get a pointer from a reference you
See here for an example of how
If you compile without When compiling for Linux, if you run the tests then each test checks for unfreed memory after execution and fails if there is any, so you can catch stuff that way too. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-08-28 by Kolban
Howdy folks,
Am studying the use of the JsVar suite within C code. My first question is ... is there an architecture or programmers guide on using JsVars? There seems to be a ton of functions including concepts such as "locking" and "references" and I'm looking for a primer on such. If nothing like that exists, if anyone wishes to post their theory or experiences, it will be most welcome.
The next set of questions will all be on "usage patterns". For example, how to create a Java Script object, what does typing "mean", how to populate an object's fields, how to invoke a variable that represents a function etc etc.
Anything and everything is welcomed here ... and I suspect this thread may grow along this area.
Neil
Beta Was this translation helpful? Give feedback.
All reactions