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 http://www.boost.org/LICENSE_1_0.txt) 5 */ 6 7 #include "jam.h" 8 #include "frames.h" 9 10 11 FRAME * frame_before_python_call; 12 13 frame_init(FRAME * frame)14void frame_init( FRAME * frame ) 15 { 16 frame->prev = 0; 17 frame->prev_user = 0; 18 lol_init( frame->args ); 19 frame->module = root_module(); 20 frame->rulename = "module scope"; 21 frame->file = 0; 22 frame->line = -1; 23 } 24 25 frame_free(FRAME * frame)26void frame_free( FRAME * frame ) 27 { 28 lol_free( frame->args ); 29 } 30