Skip to content

Commit

Permalink
renaming Parrot_initialize_core_pmcs to Parrot_gbl_initialize_core_pmcs
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandobrito committed Nov 29, 2010
1 parent 2f7ae4e commit 4e7ba26
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/gen/core_pmcs.pm
Expand Up @@ -111,7 +111,7 @@ END_C

print {$OUT} <<'END_C';
void Parrot_initialize_core_pmcs(PARROT_INTERP, int pass)
void Parrot_gbl_initialize_core_pmcs(PARROT_INTERP, int pass)
{
/* first the PMC with the highest enum
* this reduces MMD table resize action */
Expand Down
2 changes: 1 addition & 1 deletion include/parrot/global_setup.h
Expand Up @@ -19,7 +19,7 @@ void Parrot_register_core_pmcs(PARROT_INTERP, ARGIN(PMC *registry))
__attribute__nonnull__(1)
__attribute__nonnull__(2);

void Parrot_initialize_core_pmcs(PARROT_INTERP, int pass)
void Parrot_gbl_initialize_core_pmcs(PARROT_INTERP, int pass)
__attribute__nonnull__(1);

/* HEADERIZER BEGIN: src/global_setup.c */
Expand Down
4 changes: 2 additions & 2 deletions src/global_setup.c
Expand Up @@ -27,7 +27,7 @@ I<What are these global variables?>

/* These functions are defined in the auto-generated file core_pmcs.c */
/* XXX Get it into some public place */
extern void Parrot_initialize_core_pmcs(PARROT_INTERP, int pass);
extern void Parrot_gbl_initialize_core_pmcs(PARROT_INTERP, int pass);
void Parrot_register_core_pmcs(PARROT_INTERP, PMC* registry);

static const unsigned char* parrot_config_stored = NULL;
Expand Down Expand Up @@ -166,7 +166,7 @@ init_world(PARROT_INTERP)

/* Call base vtable class constructor methods */
parrot_global_setup_2(interp);
Parrot_initialize_core_pmcs(interp, 1);
Parrot_gbl_initialize_core_pmcs(interp, 1);

iglobals = interp->iglobals;
VTABLE_set_pmc_keyed_int(interp, iglobals,
Expand Down
4 changes: 2 additions & 2 deletions src/vtables.c
Expand Up @@ -21,7 +21,7 @@ Functions to build and manipulate vtables

/* This function is defined in the auto-generated file core_pmcs.c */
/* XXX Get it into some public place */
extern void Parrot_initialize_core_pmcs(PARROT_INTERP, int pass);
extern void Parrot_gbl_initialize_core_pmcs(PARROT_INTERP, int pass);

/* HEADERIZER HFILE: include/parrot/vtables.h */

Expand Down Expand Up @@ -239,7 +239,7 @@ Parrot_vtbl_initialize_core_vtables(PARROT_INTERP)

if (! interp->vtables) {
Parrot_vtbl_alloc_vtables(interp);
Parrot_initialize_core_pmcs(interp, 0);
Parrot_gbl_initialize_core_pmcs(interp, 0);
}
}

Expand Down

0 comments on commit 4e7ba26

Please sign in to comment.