core: update begin_processing() cmdlet signature
This commit is contained in:
@@ -21,7 +21,9 @@ struct bshell_foreach_object_p {
|
||||
bshell_scriptblock *f_block;
|
||||
};
|
||||
|
||||
static enum bshell_status begin_processing(bshell_cmdlet *cmdlet)
|
||||
static enum bshell_status begin_processing(
|
||||
bshell_cmdlet *cmdlet,
|
||||
enum bshell_command_position position)
|
||||
{
|
||||
struct bshell_foreach_object_p *p
|
||||
= fx_object_get_private(cmdlet, BSHELL_TYPE_FOREACH_OBJECT);
|
||||
|
||||
@@ -22,7 +22,9 @@ struct bshell_get_command_p {
|
||||
bool c_eof;
|
||||
};
|
||||
|
||||
static enum bshell_status begin_processing(bshell_cmdlet *cmdlet)
|
||||
static enum bshell_status begin_processing(
|
||||
bshell_cmdlet *cmdlet,
|
||||
enum bshell_command_position position)
|
||||
{
|
||||
struct bshell_get_command_p *p
|
||||
= fx_object_get_private(cmdlet, BSHELL_TYPE_GET_COMMAND);
|
||||
|
||||
@@ -20,7 +20,9 @@ struct bshell_get_verb_p {
|
||||
const fx_iterator *c_it;
|
||||
};
|
||||
|
||||
static enum bshell_status begin_processing(bshell_cmdlet *cmdlet)
|
||||
static enum bshell_status begin_processing(
|
||||
bshell_cmdlet *cmdlet,
|
||||
enum bshell_command_position position)
|
||||
{
|
||||
struct bshell_get_verb_p *p
|
||||
= fx_object_get_private(cmdlet, BSHELL_TYPE_GET_VERB);
|
||||
|
||||
@@ -68,7 +68,9 @@ static void write_value(
|
||||
bshell_table_ctx_print_record(&cmd->w_table_ctx, value);
|
||||
}
|
||||
|
||||
static enum bshell_status begin_processing(bshell_cmdlet *cmdlet)
|
||||
static enum bshell_status begin_processing(
|
||||
bshell_cmdlet *cmdlet,
|
||||
enum bshell_command_position position)
|
||||
{
|
||||
struct bshell_write_output_p *p
|
||||
= fx_object_get_private(cmdlet, BSHELL_TYPE_WRITE_OUTPUT);
|
||||
|
||||
Reference in New Issue
Block a user