[svn:mod_parrot] r325 - mod_parrot/trunk/src
[email protected] Sun, 20 Jan 2008 09:53:44 -0800 (PST)
| Newsgroups | perl.cvs.mod_parrot |
|---|---|
| Message-ID | <[email protected]> |
Author: jhorwitz
Date: Sun Jan 20 09:53:43 2008
New Revision: 325
Modified:
mod_parrot/trunk/src/mod_parrot.c
Log:
don't use VTABLE_* functions directly
Modified: mod_parrot/trunk/src/mod_parrot.c
==============================================================================
--- mod_parrot/trunk/src/mod_parrot.c (original)
+++ mod_parrot/trunk/src/mod_parrot.c Sun Jan 20 09:53:43 2008
@@ -136,7 +136,7 @@
Parrot_PMC ctx_class;
Parrot_PMC ctx_pmc;
Parrot_PMC namespace;
- int typenum;
+ Parrot_Int typenum;
typenum = Parrot_PMC_typenum(interp, "ResizableStringArray");
namespace = (Parrot_PMC)Parrot_PMC_new(interp, typenum);
@@ -146,7 +146,7 @@
Parrot_PMC_set_cstring_intkey(interp, namespace, 1, "Context");
ctx_class = Parrot_oo_get_class(interp, namespace);
- ctx_pmc = VTABLE_instantiate(interp, ctx_class, PMCNULL);
+ ctx_pmc = (Parrot_PMC)Parrot_Class_instantiate(interp, ctx_class, PMCNULL);
Parrot_unregister_pmc(interp, namespace);