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

Function argument_list_print

src/engine/function.cpp:3658–3683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3656}
3657
3658static void argument_list_print( struct arg_list * args, int32_t num_args )
3659{
3660 if ( args )
3661 {
3662 int32_t i;
3663 for ( i = 0; i < num_args; ++i )
3664 {
3665 int32_t j;
3666 if ( i ) out_printf( " : " );
3667 for ( j = 0; j < args[ i ].size; ++j )
3668 {
3669 struct argument * formal_arg = &args[ i ].args[ j ];
3670 if ( j ) out_printf( " " );
3671 if ( formal_arg->type_name )
3672 out_printf( "%s ", object_str( formal_arg->type_name ) );
3673 out_printf( "%s", object_str( formal_arg->arg_name ) );
3674 switch ( formal_arg->flags )
3675 {
3676 case ARG_OPTIONAL: out_printf( " ?" ); break;
3677 case ARG_PLUS: out_printf( " +" ); break;
3678 case ARG_STAR: out_printf( " *" ); break;
3679 }
3680 }
3681 }
3682 }
3683}
3684
3685
3686struct arg_list * argument_list_bind_variables( struct arg_list * formal,

Callers 1

argument_errorFunction · 0.85

Calls 2

out_printfFunction · 0.85
object_strFunction · 0.85

Tested by

no test coverage detected