Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

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.1.1.1

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 multigram_exec(), 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 multigram_exec(), and multigram_exec_delete().


Generated on Tue Mar 28 16:19:05 2006 for Julius by  doxygen 1.4.2