aboutsummaryrefslogtreecommitdiff
path: root/gfsm/gfsm/src/libgfsm/tests/labchurn.c
blob: b8f0a99e81fd7111532156e5bef6322b31d05927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <gfsm.h>

gfsmAlphabet *alph;

int main (int argc, char **argv)
{
  char *infilename = (argc > 1 ? argv[1] : "-");

  g_mem_set_vtable(glib_mem_profiler_table);

  alph = gfsm_string_alphabet_new();
  //g_mem_profile();

  gfsm_alphabet_load_filename(alph,infilename,NULL);
  //gfsm_alphabet_save_file(alph,stdout,NULL);


  gfsm_alphabet_free(alph);

  g_blow_chunks();
  g_mem_profile();
  return 0;
}