]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/build/src/engine/frames.h
update sources to v12.2.3
[ceph.git] / ceph / src / boost / tools / build / src / engine / frames.h
CommitLineData
7c673cae
FG
1/*
2 * Copyright 2001-2004 David Abrahams.
3 * Distributed under the Boost Software License, Version 1.0.
4 * (See accompanying file LICENSE_1_0.txt or copy at
5 * http://www.boost.org/LICENSE_1_0.txt)
6 */
7
8#ifndef FRAMES_DWA20011021_H
9#define FRAMES_DWA20011021_H
10
11#include "lists.h"
12#include "modules.h"
13#include "object.h"
14
15
16typedef struct frame FRAME;
17
18struct frame
19{
20 FRAME * prev;
21 FRAME * prev_user; /* The nearest enclosing frame for which
22 module->user_module is true. */
23 LOL args[ 1 ];
24 module_t * module;
25 OBJECT * file;
26 int line;
27 char const * rulename;
b32b8144
FG
28#ifdef JAM_DEBUGGER
29 void * function;
30#endif
7c673cae
FG
31};
32
33
34/* When a call into Python is in progress, this variable points to the bjam
35 * frame that was current at the moment of the call. When the call completes,
36 * the variable is not defined. Furthermore, if Jam calls Python which calls Jam
37 * and so on, this variable only keeps the most recent Jam frame.
38 */
39extern FRAME * frame_before_python_call;
40
41
42void frame_init( FRAME * );
43void frame_free( FRAME * );
44
45#endif