Skip to content

Commit

Permalink
renaming Parrot_register_core_pmcs to Parrot_gbl_register_core_pmcs
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandobrito committed Nov 29, 2010
1 parent 4e7ba26 commit ed542fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/gen/core_pmcs.pm
Expand Up @@ -131,7 +131,7 @@ static void register_pmc(PARROT_INTERP, ARGIN(PMC *registry), int pmc_id)
}
void
Parrot_register_core_pmcs(PARROT_INTERP, ARGIN(PMC *registry))
Parrot_gbl_register_core_pmcs(PARROT_INTERP, ARGIN(PMC *registry))
{
END_C

Expand Down
2 changes: 1 addition & 1 deletion include/parrot/global_setup.h
Expand Up @@ -15,7 +15,7 @@
#include "parrot/config.h"
#include "parrot/interpreter.h"

void Parrot_register_core_pmcs(PARROT_INTERP, ARGIN(PMC *registry))
void Parrot_gbl_register_core_pmcs(PARROT_INTERP, ARGIN(PMC *registry))
__attribute__nonnull__(1)
__attribute__nonnull__(2);

Expand Down
4 changes: 2 additions & 2 deletions src/global_setup.c
Expand Up @@ -28,7 +28,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_gbl_initialize_core_pmcs(PARROT_INTERP, int pass);
void Parrot_register_core_pmcs(PARROT_INTERP, PMC* registry);
void Parrot_gbl_register_core_pmcs(PARROT_INTERP, PMC* registry);

static const unsigned char* parrot_config_stored = NULL;
static unsigned int parrot_config_size_stored = 0;
Expand Down Expand Up @@ -242,7 +242,7 @@ parrot_global_setup_2(PARROT_INTERP)

/* We need a class hash */
interp->class_hash = classname_hash = Parrot_pmc_new(interp, enum_class_NameSpace);
Parrot_register_core_pmcs(interp, classname_hash);
Parrot_gbl_register_core_pmcs(interp, classname_hash);

/* init the interpreter globals array */
interp->iglobals = Parrot_pmc_new_init_int(interp,
Expand Down

0 comments on commit ed542fb

Please sign in to comment.