to be able to save to and read from disk all objects I exposed.
For example, v = la.load(fs.open("vector.out", "r-")); would load a vector
object I previously saved with v.save(fs.open("vector.out", "r+"));. (I'm
making it up --- the point is I want the user to pass a Node.js object for
on the C++ side.)
1. How do I access Node.js's FileSystem objects from the C++ side? (On
want to extract file descriptor from that object.)
2. How do Node.js addons typically solve this? Any tips?
3. Examples, if available, are more than welcome.
(Note: Reposted this from StackOverflow in the hope for any answers.)
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/582c9f08-e271-43b0-9026-b39fa8ba5ea3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.