]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/src/engine/function.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / tools / build / src / engine / function.h
index 73c837f5205ca18e93f7e1ccaa87f9b789f123b5..afa0277bb7df7e0920529dd47d5c561ccefb7117 100644 (file)
@@ -1,7 +1,8 @@
 /*
+ *  Copyright 2022 RenĂ© Ferdinand Rivera Morell
  *  Copyright 2011 Steven Watanabe
  *  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)
+ *  (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt)
  */
 
 #ifndef FUNCTION_SW20111123_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, int flags ), int flags, const char * * args );
+FUNCTION * function_builtin( LIST * ( * func )( FRAME * frame, int32_t flags ), int32_t flags, const char * * args );
 void function_refer( FUNCTION * );
 void function_free( FUNCTION * );
 OBJECT * function_rulename( FUNCTION * );
 void function_set_rulename( FUNCTION *, OBJECT * );
-void function_location( FUNCTION *, OBJECT * *, int * );
+void function_location( FUNCTION *, OBJECT * *, int32_t * );
 LIST * function_run( FUNCTION * function, FRAME * frame, STACK * s );
 
-FUNCTION * function_compile_actions( const char * actions, OBJECT * file, int line );
+FUNCTION * function_compile_actions( const char * actions, OBJECT * file, int32_t line );
 void function_run_actions( FUNCTION * function, FRAME * frame, STACK * s, string * out );
 
-FUNCTION * function_bind_variables( FUNCTION * f, module_t * module, int * counter );
+FUNCTION * function_bind_variables( FUNCTION * f, module_t * module, int32_t * counter );
 FUNCTION * function_unbind_variables( FUNCTION * f );
 
 LIST * function_get_variables( FUNCTION * f );