tagged release 0.6.4
[parrot.git] / include / parrot / builtin.h
blobb5622513aaf9a6a1556140ef851738cd6a2cd56b
1 /* builtin.h
2 * Copyright (C) 2005-2007, The Perl Foundation.
3 * SVN Info
4 * $Id$
5 * Overview:
6 * This is the API header for builtins.
7 * Data Structure and Algorithms:
8 * History:
9 * Notes:
10 * References:
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. */
21 PARROT_CONST_FUNCTION
22 PARROT_WARN_UNUSED_RESULT
23 PARROT_CANNOT_RETURN_NULL
24 const char * Parrot_builtin_get_c_namespace(int bi);
26 PARROT_CONST_FUNCTION
27 PARROT_WARN_UNUSED_RESULT
28 int Parrot_builtin_is_class_method(int bi);
30 PARROT_CONST_FUNCTION
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
44 PARROT_PURE_FUNCTION
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 */
56 * Local variables:
57 * c-file-style: "parrot"
58 * End:
59 * vim: expandtab shiftwidth=4: