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

Function argument_list_print

v2/engine/function.c:3384–3409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3382}
3383
3384static void argument_list_print( struct arg_list * args, int num_args )
3385{
3386 if ( args )
3387 {
3388 int i;
3389 for ( i = 0; i < num_args; ++i )
3390 {
3391 int j;
3392 if ( i ) printf( " : " );
3393 for ( j = 0; j < args[ i ].size; ++j )
3394 {
3395 struct argument * formal_arg = &args[ i ].args[ j ];
3396 if ( j ) printf( " " );
3397 if ( formal_arg->type_name )
3398 printf( "%s ", object_str( formal_arg->type_name ) );
3399 printf( "%s", object_str( formal_arg->arg_name ) );
3400 switch ( formal_arg->flags )
3401 {
3402 case ARG_OPTIONAL: printf( " ?" ); break;
3403 case ARG_PLUS: printf( " +" ); break;
3404 case ARG_STAR: printf( " *" ); break;
3405 }
3406 }
3407 }
3408 }
3409}
3410
3411
3412struct arg_list * argument_list_bind_variables( struct arg_list * formal,

Callers 1

argument_errorFunction · 0.85

Calls 1

object_strFunction · 0.85

Tested by

no test coverage detected