XPCOMGC/GCObject Inheritance: Difference between revisions

s/GCObject/GCFinalizedObject/
(Initial cut at GCObject inheritance)
 
(s/GCObject/GCFinalizedObject/)
 
Line 39: Line 39:
For each class in list "A", look to see if it a subclass of another class in list A. If so, remove it from the list. This is list "B"
For each class in list "A", look to see if it a subclass of another class in list A. If so, remove it from the list. This is list "B"


== Part III: rewrite the classes of list B to inherit from GCObject ==
== Part III: rewrite the classes of list B to inherit from GCFinalizedObject ==


For each class in list B, make the class a subclass of GCObject.
For each class in list B, make the class a subclass of GCFinalizedObject.


Note: if we can complete steps I and II with dehydra and get the start position of the class declarations, it may be easier to do this with a text-processing program than with pork
Note: if we can complete steps I and II with dehydra and get the start position of the class declarations, it may be easier to do this with a text-processing program than with pork
Confirmed users, Bureaucrats and Sysops emeriti
1,217

edits