base-object: add BaseObject
authorTrevor Norris <trev.norris@gmail.com>
Mon, 4 Nov 2013 18:49:55 +0000 (10:49 -0800)
committerTrevor Norris <trev.norris@gmail.com>
Tue, 12 Nov 2013 21:38:31 +0000 (13:38 -0800)
commitd120d92bfef0b5012e76c636335fee80e9c1e4a9
tree277864e238d78271c82b3e77c8f3e8c850c35bd9
parent6cea16f2c9ec0666708e924fa93c664ddb000b5c
base-object: add BaseObject

BaseObject is a class that just handles the Persistent handle attached
to the class instance.

This also removed WeakObject. Reordering the inheritance chain helps
prevent unneeded calls on instances that don't call MakeCallback.
12 files changed:
node.gyp
src/async-wrap-inl.h
src/async-wrap.h
src/base-object-inl.h [moved from src/weak-object-inl.h with 50% similarity]
src/base-object.h [moved from src/weak-object.h with 64% similarity]
src/node_contextify.cc
src/node_crypto.cc
src/node_crypto.h
src/node_http_parser.cc
src/node_stat_watcher.cc
src/node_stat_watcher.h
src/node_zlib.cc