On Tue Dec 04 20:12:24 2007, coke wrote:
>  From PDD17:
> 
> =item class_type
> 
>    INTVAL class_type(INTERP, PMC* self)
> 
> Return the integer type of the PMC. [NOTE: will be deprecated when type
> IDs are deprecated.]

The attached patch removes this vtable entry.  The only thing still
which seems to use class_type is dotnet, however, it fails its tests in
exactly the same manner with and without this patch (dotnet does need
some work...).

If this patch is ok, please say so, otherwise I'll apply it in three days.

Paul


Index: DEPRECATED.pod
===================================================================
--- DEPRECATED.pod	(revision 25016)
+++ DEPRECATED.pod	(working copy)
@@ -74,10 +74,6 @@
 
 See RT #47011.
 
-=item * C<class_type> [post 0.5.1]
-
-See RT #48142.
-
 =item * C<pmc_namespace>  [post 0.5.1]
 
 See RT# 48144. Replaced by C<get_namespace>.
Index: src/vtable.tbl
===================================================================
--- src/vtable.tbl	(revision 25016)
+++ src/vtable.tbl	(working copy)
@@ -349,7 +349,6 @@
 void set_attr_keyed(PMC* key, STRING* idx, PMC* value) :write
 
 PMC* get_class()
-INTVAL class_type()
 
 void add_parent(PMC* parent) :write
 void remove_parent(PMC* parent) :write
Index: docs/pdds/pdd17_pmc.pod
===================================================================
--- docs/pdds/pdd17_pmc.pod	(revision 25016)
+++ docs/pdds/pdd17_pmc.pod	(working copy)
@@ -563,12 +563,6 @@
 C<Class> object (or other high-level class object). For low-level PMCs,
 this returns a C<PMCProxy> object.
 
-=item class_type [deprecated: See RT# 48142]
-
-  INTVAL class_type(INTERP, PMC* self)
-
-Return the integer type of the PMC. 
-
 =item pmc_namespace [deprecated: See RT# 48144]
 
   PMC* pmc_namespace(INTERP, PMC* self)

Reply via email to