Index: docs/vtables.pod
===================================================================
RCS file: /home/perlcvs/parrot/docs/vtables.pod,v
retrieving revision 1.5
diff -u -r1.5 vtables.pod
--- docs/vtables.pod    8 Dec 2001 21:24:15 -0000       1.5
+++ docs/vtables.pod    2 Jan 2002 21:24:06 -0000
@@ -95,6 +95,37 @@
 return C<temp_base_vtable> instead of assigning to the
 C<Parrot_base_vtables> array.
 
+To finish up adding a built-in class:
+
+=over 4
+
+=item 1.
+
+Add classes/YOURCLASS.pmc to MANIFEST.
+
+=item 2.
+
+Add classes/YOURCLASS$(O) to $(CLASS_O_FILES) in Makefile.in.
+
+=item 3.
+
+Add YOURCLASS$(O) to $(O_FILES) in classes/Makefile.in.
+
+=item 4.
+
+Add YOURCLASS.c and YOURCLASS$(O) targets to classes/Makefile.in.
+
+=item 5.
+
+Add enum_class_YOURCLASS to the enumeration in pmc.h.
+
+=item 6.
+
+Add a call to Parrot_YOURCLASS_class_init() to init_world() in
+global_setup.c.
+
+=back
+
 =head2 What You Can and Cannot Do
 
 The usual way to continue from the F<genclass.pl>-generated skeleton


Reply via email to