* xmlAutomataGetInitState: * @am: an automata * * Initial state lookup * * Returns the initial state of the automata */
| 5623 | * Returns the initial state of the automata |
| 5624 | */ |
| 5625 | xmlAutomataStatePtr |
| 5626 | xmlAutomataGetInitState(xmlAutomataPtr am) { |
| 5627 | if (am == NULL) |
| 5628 | return(NULL); |
| 5629 | return(am->start); |
| 5630 | } |
| 5631 | |
| 5632 | /** |
| 5633 | * xmlAutomataSetFinalState: |
no outgoing calls