guththila_namespace_t *GUTHTHILA_CALL
guththila_namespace_list_get(guththila_namespace_list_t *namesp_list,const axutil_env_t * env) 
{
    if (namesp_list->fr_stack.top > 0 ||guththila_namespace_list_grow(namesp_list,GUTHTHILA_NAMESPACE_DEF_SIZE, env))
    {
        return guththila_stack_pop(&namesp_list->fr_stack, env);
    }
    return NULL;
}
Esempio n. 2
0
guththila_token_t *GUTHTHILA_CALL
guththila_tok_list_get_token(
    guththila_tok_list_t * tok_list,
    const axutil_env_t * env)
{
    if(tok_list->fr_stack.top > 0 || guththila_tok_list_grow(tok_list, env))
    {
        return guththila_stack_pop(&tok_list->fr_stack, env);
    }
    return NULL;
}