Skip to content
This repository
tree: 51336ab525
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 57 lines (45 sloc) 1.751 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
/*
* $Id$
* Copyright (C) 2008-2009, Parrot Foundation.
*/

#ifndef PARROT_PIR_PIRPCC_H_GUARD
#define PARROT_PIR_PIRPCC_H_GUARD

#include "pircompunit.h"
#include "pircompiler.h"

/* HEADERIZER BEGIN: compilers/pirc/src/pirpcc.c */
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */

void convert_inv_to_instr(
    ARGIN(lexer_state * const lexer),
    ARGIN(invocation * const inv))
        __attribute__nonnull__(1)
        __attribute__nonnull__(2);

void emit_sub_epilogue(ARGIN(lexer_state * const lexer))
        __attribute__nonnull__(1);

void generate_getresults_instr(
    ARGIN(lexer_state * const lexer),
    ARGIN(target * const targetlist))
        __attribute__nonnull__(1)
        __attribute__nonnull__(2);

void generate_parameters_instr(
    ARGIN(lexer_state * const lexer),
    unsigned num_parameters)
        __attribute__nonnull__(1);

#define ASSERT_ARGS_convert_inv_to_instr __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(lexer) \
, PARROT_ASSERT_ARG(inv))
#define ASSERT_ARGS_emit_sub_epilogue __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(lexer))
#define ASSERT_ARGS_generate_getresults_instr __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(lexer) \
, PARROT_ASSERT_ARG(targetlist))
#define ASSERT_ARGS_generate_parameters_instr __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(lexer))
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
/* HEADERIZER END: compilers/pirc/src/pirpcc.c */

#endif /* PARROT_PIR_PIRPCC_H_GUARD */

/*
* Local variables:
* c-file-style: "parrot"
* End:
* vim: expandtab shiftwidth=4:
*/

Something went wrong with that request. Please try again.