2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-22 03:12:16 +00:00

Remove public function STACK access.

In preparation to clean up the Jam function global stack move the
definition of the STACK and related functions inside the function.cpp
source file only.
This commit is contained in:
Rene Rivera
2022-03-22 23:02:51 -04:00
parent 02c076e14a
commit 266c664fd9
6 changed files with 30 additions and 40 deletions

View File

@@ -16,14 +16,8 @@
#include "jam_strings.h"
typedef struct _function FUNCTION;
typedef struct _stack STACK;
typedef FUNCTION* function_ptr;
typedef STACK* stack_ptr;
STACK * stack_global( void );
void stack_push( STACK * s, LIST * l );
LIST * stack_pop( STACK * s );
FUNCTION * function_compile( PARSE * parse );
FUNCTION * function_builtin( LIST * ( * func )( FRAME * frame, int32_t flags ), int32_t flags, const char * * args );
@@ -32,10 +26,10 @@ void function_free( FUNCTION * );
OBJECT * function_rulename( FUNCTION * );
void function_set_rulename( FUNCTION *, OBJECT * );
void function_location( FUNCTION *, OBJECT * *, int32_t * );
LIST * function_run( FUNCTION * function, FRAME * frame, STACK * s );
LIST * function_run( FUNCTION * function, FRAME * frame );
FUNCTION * function_compile_actions( const char * actions, OBJECT * file, int32_t line );
void function_run_actions( FUNCTION * function, FRAME * frame, STACK * s, string * out );
void function_run_actions( FUNCTION * function, FRAME * frame, string * out );
FUNCTION * function_bind_variables( FUNCTION * f, module_t * module, int32_t * counter );
FUNCTION * function_unbind_variables( FUNCTION * f );