Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (51 sloc) 2.02 KB
/* global_setup.h
* Copyright (C) 2001-2007, Parrot Foundation.
* Overview:
* Contains declarations of global data and the functions
* that initialize that data.
* Data Structure and Algorithms:
* History:
* Notes:
* References:
*/
#ifndef PARROT_GLOBAL_SETUP_H_GUARD
#define PARROT_GLOBAL_SETUP_H_GUARD
#include "parrot/config.h"
#include "parrot/interpreter.h"
void Parrot_gbl_register_core_pmcs(PARROT_INTERP, ARGIN(PMC *registry))
__attribute__nonnull__(1)
__attribute__nonnull__(2);
void Parrot_gbl_initialize_core_pmcs(PARROT_INTERP, int pass)
__attribute__nonnull__(1);
/* HEADERIZER BEGIN: src/global_setup.c */
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
void init_world(PARROT_INTERP)
__attribute__nonnull__(1);
void Parrot_gbl_init_world_once(PARROT_INTERP)
__attribute__nonnull__(1);
void Parrot_gbl_set_config_hash_internal(
ARGIN(const unsigned char* parrot_config),
unsigned int parrot_config_size)
__attribute__nonnull__(1);
void Parrot_set_config_hash_pmc(PARROT_INTERP, ARGIN(PMC *config))
__attribute__nonnull__(1)
__attribute__nonnull__(2);
#define ASSERT_ARGS_init_world __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp))
#define ASSERT_ARGS_Parrot_gbl_init_world_once __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp))
#define ASSERT_ARGS_Parrot_gbl_set_config_hash_internal \
__attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(parrot_config))
#define ASSERT_ARGS_Parrot_set_config_hash_pmc __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp) \
, PARROT_ASSERT_ARG(config))
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
/* HEADERIZER END: src/global_setup.c */
#endif /* PARROT_GLOBAL_SETUP_H_GUARD */
/*
* Local variables:
* c-file-style: "parrot"
* End:
* vim: expandtab shiftwidth=4 cinoptions='\:2=2' :
*/