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

Function argument_list_print

src/engine/function.c:3483–3508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3481}
3482
3483static void argument_list_print( struct arg_list * args, int num_args )
3484{
3485 if ( args )
3486 {
3487 int i;
3488 for ( i = 0; i < num_args; ++i )
3489 {
3490 int j;
3491 if ( i ) out_printf( " : " );
3492 for ( j = 0; j < args[ i ].size; ++j )
3493 {
3494 struct argument * formal_arg = &args[ i ].args[ j ];
3495 if ( j ) out_printf( " " );
3496 if ( formal_arg->type_name )
3497 out_printf( "%s ", object_str( formal_arg->type_name ) );
3498 out_printf( "%s", object_str( formal_arg->arg_name ) );
3499 switch ( formal_arg->flags )
3500 {
3501 case ARG_OPTIONAL: out_printf( " ?" ); break;
3502 case ARG_PLUS: out_printf( " +" ); break;
3503 case ARG_STAR: out_printf( " *" ); break;
3504 }
3505 }
3506 }
3507 }
3508}
3509
3510
3511struct 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