libsent/src/dfa/dfa_malloc.c File Reference

Memory allocation of grammar information. More...

#include <sent/stddefs.h>
#include <sent/dfa.h>

Include dependency graph for dfa_malloc.c:

Go to the source code of this file.

Functions

DFA_INFOdfa_info_new ()
void dfa_info_free (DFA_INFO *dfa)


Detailed Description

Memory allocation of grammar information.

Author:
Akinobu LEE
Date:
Tue Feb 15 14:16:03 2005
Revision
1.3

Definition in file dfa_malloc.c.


Function Documentation

DFA_INFO* dfa_info_new (  ) 

Allocate a new grammar information data structure and initialize it.

Returns:
pointer to the newly allocated DFA_INFO.

Definition at line 33 of file dfa_malloc.c.

Referenced by msock_read_grammar(), and multigram_read_file().

void dfa_info_free ( DFA_INFO dfa  ) 

Free all informations in the DFA_INFO.

Parameters:
dfa [i/o] grammar information data to be freed.

Definition at line 54 of file dfa_malloc.c.

Referenced by msock_read_grammar(), and multigram_exec_delete().


Generated on Tue Dec 26 12:54:36 2006 for Julian by  doxygen 1.5.0