2 * Copyright (C) 2005-2007, The Perl Foundation.
6 * This is the API header for builtins.
7 * Data Structure and Algorithms:
13 #ifndef PARROT_BUILTIN_H_GUARD
14 #define PARROT_BUILTIN_H_GUARD
16 #include "parrot/compiler.h"
18 /* HEADERIZER BEGIN: src/builtin.c */
19 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
22 PARROT_WARN_UNUSED_RESULT
23 PARROT_CANNOT_RETURN_NULL
24 const char * Parrot_builtin_get_c_namespace(int bi
);
27 PARROT_WARN_UNUSED_RESULT
28 int Parrot_builtin_is_class_method(int bi
);
31 PARROT_WARN_UNUSED_RESULT
32 int Parrot_builtin_is_void(int bi
);
34 PARROT_WARN_UNUSED_RESULT
35 PARROT_CAN_RETURN_NULL
36 PMC
* Parrot_find_builtin(PARROT_INTERP
, ARGIN(STRING
*func
))
37 __attribute__nonnull__(1)
38 __attribute__nonnull__(2);
40 void Parrot_init_builtins(PARROT_INTERP
)
41 __attribute__nonnull__(1);
43 PARROT_WARN_UNUSED_RESULT
45 int Parrot_is_builtin(
46 ARGIN(const char *func
),
47 ARGIN_NULLOK(const char *sig
))
48 __attribute__nonnull__(1);
50 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
51 /* HEADERIZER END: src/builtin.c */
53 #endif /* PARROT_BUILTIN_H_GUARD */
57 * c-file-style: "parrot"
59 * vim: expandtab shiftwidth=4: