summaryrefslogtreecommitdiff
path: root/tools/build/src/engine/frames.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/src/engine/frames.c')
-rw-r--r--tools/build/src/engine/frames.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/tools/build/src/engine/frames.c b/tools/build/src/engine/frames.c
new file mode 100644
index 000000000..0491c5c32
--- /dev/null
+++ b/tools/build/src/engine/frames.c
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2001-2004 David Abrahams.
+ * Distributed under the Boost Software License, Version 1.0.
+ * (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+ */
+
+#include "jam.h"
+#include "frames.h"
+
+
+FRAME * frame_before_python_call;
+
+
+void frame_init( FRAME * frame )
+{
+ frame->prev = 0;
+ frame->prev_user = 0;
+ lol_init( frame->args );
+ frame->module = root_module();
+ frame->rulename = "module scope";
+ frame->file = 0;
+ frame->line = -1;
+}
+
+
+void frame_free( FRAME * frame )
+{
+ lol_free( frame->args );
+}