summaryrefslogtreecommitdiff
path: root/src/base-object.h
Commit message (Collapse)AuthorAgeFilesLines
* src: update and expand comments in base-object.hBen Noordhuis2014-09-051-2/+7
| | | | | | | | | It's safe to call BaseObject::object() from your destructor _unless_ the handle is weak; then it's the weak callback that is calling your destructor and the object will have been released by the time the destructor runs. Reviewed-by: Trevor Norris <trev.norris@gmail.com>
* src: add comments about implicit dependenciesTrevor Norris2013-11-121-0/+5
|
* base-object: add BaseObjectTrevor Norris2013-11-121-0/+61
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.