MCPcopy Create free account
hub / github.com/boostorg/build / function_builtin

Function function_builtin

v2/engine/function.c:2845–2857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2843 int * num_arguments );
2844
2845FUNCTION * function_builtin( LIST * ( * func )( FRAME * frame, int flags ),
2846 int flags, char const * * args )
2847{
2848 BUILTIN_FUNCTION * result = BJAM_MALLOC( sizeof( BUILTIN_FUNCTION ) );
2849 result->base.type = FUNCTION_BUILTIN;
2850 result->base.reference_count = 1;
2851 result->base.rulename = 0;
2852 result->base.formal_arguments = arg_list_compile_builtin( args,
2853 &result->base.num_formal_arguments );
2854 result->func = func;
2855 result->flags = flags;
2856 return (FUNCTION *)result;
2857}
2858
2859FUNCTION * function_compile( PARSE * parse )
2860{

Callers 2

bind_builtinFunction · 0.85
declare_native_ruleFunction · 0.85

Calls 1

arg_list_compile_builtinFunction · 0.85

Tested by

no test coverage detected