Skip to content

Commit

Permalink
headerizer
Browse files Browse the repository at this point in the history
  • Loading branch information
plobsing committed Jan 9, 2011
1 parent 693f4b5 commit bb9927f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/parrot/api.h
Expand Up @@ -218,13 +218,6 @@ Parrot_Int Parrot_api_set_runcore(
Parrot_UInt trace)
__attribute__nonnull__(2);

PARROT_API
Parrot_Int Parrot_api_set_stdhandles(
Parrot_PMC interp_pmc,
Parrot_Int in,
Parrot_Int out,
Parrot_Int err);

PARROT_API
Parrot_Int Parrot_api_set_warnings(Parrot_PMC interp_pmc, Parrot_Int flags);

Expand Down Expand Up @@ -293,7 +286,6 @@ Parrot_Int Parrot_api_wrap_imcc_hack(
#define ASSERT_ARGS_Parrot_api_set_output_file __attribute__unused__ int _ASSERT_ARGS_CHECK = (0)
#define ASSERT_ARGS_Parrot_api_set_runcore __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(corename))
#define ASSERT_ARGS_Parrot_api_set_stdhandles __attribute__unused__ int _ASSERT_ARGS_CHECK = (0)
#define ASSERT_ARGS_Parrot_api_set_warnings __attribute__unused__ int _ASSERT_ARGS_CHECK = (0)
#define ASSERT_ARGS_Parrot_api_wrap_imcc_hack __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(sourcefile) \
Expand Down
12 changes: 12 additions & 0 deletions include/parrot/string_funcs.h
Expand Up @@ -437,6 +437,9 @@ STRING * Parrot_str_from_int_base(PARROT_INTERP,
__attribute__nonnull__(2)
FUNC_MODIFIES(*tc);

STRING * Parrot_str_from_platform_cstring(PARROT_INTERP, char *c)
__attribute__nonnull__(1);

PARROT_WARN_UNUSED_RESULT
PARROT_CANNOT_RETURN_NULL
STRING* Parrot_str_from_uint(PARROT_INTERP,
Expand Down Expand Up @@ -471,6 +474,9 @@ STRING * Parrot_str_iter_substr(PARROT_INTERP,
__attribute__nonnull__(2)
__attribute__nonnull__(3);

char * Parrot_str_to_platform_cstring(PARROT_INTERP, STRING *s)
__attribute__nonnull__(1);

#define ASSERT_ARGS_Parrot_str_bitwise_and __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp))
#define ASSERT_ARGS_Parrot_str_bitwise_not __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
Expand Down Expand Up @@ -614,6 +620,9 @@ STRING * Parrot_str_iter_substr(PARROT_INTERP,
#define ASSERT_ARGS_Parrot_str_from_int_base __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp) \
, PARROT_ASSERT_ARG(tc))
#define ASSERT_ARGS_Parrot_str_from_platform_cstring \
__attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp))
#define ASSERT_ARGS_Parrot_str_from_uint __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp) \
, PARROT_ASSERT_ARG(tc))
Expand All @@ -627,6 +636,9 @@ STRING * Parrot_str_iter_substr(PARROT_INTERP,
PARROT_ASSERT_ARG(interp) \
, PARROT_ASSERT_ARG(str) \
, PARROT_ASSERT_ARG(l))
#define ASSERT_ARGS_Parrot_str_to_platform_cstring \
__attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp))
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
/* HEADERIZER END: src/string/api.c */

Expand Down

0 comments on commit bb9927f

Please sign in to comment.