1 | /* |
---|
2 | * Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc. |
---|
3 | * |
---|
4 | * This file is part of Jam - see jam.c for Copyright information. |
---|
5 | */ |
---|
6 | |
---|
7 | #ifndef JAM_BUILTINS_H |
---|
8 | # define JAM_BUILTINS_H |
---|
9 | |
---|
10 | # include "frames.h" |
---|
11 | |
---|
12 | /* |
---|
13 | * builtins.h - compile parsed jam statements |
---|
14 | */ |
---|
15 | |
---|
16 | void load_builtins(); |
---|
17 | |
---|
18 | LIST *builtin_calc( PARSE *parse, FRAME *args ); |
---|
19 | LIST *builtin_depends( PARSE *parse, FRAME *args ); |
---|
20 | LIST *builtin_rebuilds( PARSE *parse, FRAME *args ); |
---|
21 | LIST *builtin_echo( PARSE *parse, FRAME *args ); |
---|
22 | LIST *builtin_exit( PARSE *parse, FRAME *args ); |
---|
23 | LIST *builtin_flags( PARSE *parse, FRAME *args ); |
---|
24 | LIST *builtin_glob( PARSE *parse, FRAME *args ); |
---|
25 | LIST *builtin_glob_recursive( PARSE *parse, FRAME *frame ); |
---|
26 | LIST *builtin_subst( PARSE *parse, FRAME *args ); |
---|
27 | LIST *builtin_match( PARSE *parse, FRAME *args ); |
---|
28 | LIST *builtin_hdrmacro( PARSE *parse, FRAME *args ); |
---|
29 | LIST *builtin_rulenames( PARSE *parse, FRAME *args ); |
---|
30 | LIST *builtin_varnames( PARSE *parse, FRAME *args ); |
---|
31 | LIST *builtin_delete_module( PARSE *parse, FRAME *args ); |
---|
32 | LIST *builtin_import( PARSE *parse, FRAME *args ); |
---|
33 | LIST *builtin_export( PARSE *parse, FRAME *args ); |
---|
34 | LIST *builtin_caller_module( PARSE *parse, FRAME *args ); |
---|
35 | LIST *builtin_backtrace( PARSE *parse, FRAME *args ); |
---|
36 | LIST *builtin_pwd( PARSE *parse, FRAME *args ); |
---|
37 | LIST *builtin_update( PARSE *parse, FRAME *args ); |
---|
38 | LIST *builtin_search_for_target( PARSE *parse, FRAME *args ); |
---|
39 | LIST *builtin_import_module( PARSE *parse, FRAME *args ); |
---|
40 | LIST *builtin_imported_modules( PARSE *parse, FRAME *frame ); |
---|
41 | LIST *builtin_instance( PARSE *parse, FRAME *frame ); |
---|
42 | LIST *builtin_sort( PARSE *parse, FRAME *frame ); |
---|
43 | LIST *builtin_normalize_path( PARSE *parse, FRAME *frame ); |
---|
44 | LIST *builtin_native_rule( PARSE *parse, FRAME *frame ); |
---|
45 | LIST *builtin_has_native_rule( PARSE *parse, FRAME *frame ); |
---|
46 | LIST *builtin_user_module( PARSE *parse, FRAME *frame ); |
---|
47 | LIST *builtin_nearest_user_location( PARSE *parse, FRAME *frame ); |
---|
48 | LIST *builtin_check_if_file( PARSE *parse, FRAME *frame ); |
---|
49 | LIST *builtin_python_import_rule( PARSE *parse, FRAME *frame ); |
---|
50 | LIST *builtin_shell( PARSE *parse, FRAME *frame ); |
---|
51 | |
---|
52 | void backtrace( FRAME *frame ); |
---|
53 | |
---|
54 | #endif |
---|