slightly more sophisticated playing around, i.e. http://nodejs.org/api/addons.html#addons_wrapping_c_objects