Logo Search packages:      
Sourcecode: t1utils version File versions  Download package

void Clp_SaveParser ( const Clp_Parser clp,
Clp_ParserState *  state 
)

Save clp's current state in state.

Parameters:
clp the parser
state parser state
See also:
Clp_NewParserState, Clp_RestoreParser

Definition at line 1449 of file clp.c.

References Clp_Parser::internal.

{
    Clp_Internal *cli = clp->internal;
    state->argv = cli->argv;
    state->argc = cli->argc;
    memcpy(state->option_chars, cli->option_chars, Clp_OptionCharsSize);
    state->xtext = cli->xtext;

    state->option_processing = cli->option_processing;
    state->opt_generation = cli->opt_generation;
    state->current_option = cli->current_option;
    state->is_short = cli->is_short;
    state->whole_negated = cli->whole_negated;
    state->current_short = cli->current_short;
    state->negated_by_no = cli->negated_by_no;
}


Generated by  Doxygen 1.6.0   Back to index