コード例 #1
0
ファイル: ambi-tables.c プロジェクト: AaronNGray/strategoxt
void SG_AmbiTablesDestroy()
{
  if (cluster_table) {
    ATtableDestroy(cluster_table);
    cluster_table = NULL;
  }
  if (index_table) {
    ATtableDestroy(index_table);
    index_table = NULL;
  }
}
コード例 #2
0
ファイル: tables.c プロジェクト: metaborg/stratego-releases
void *_destroy_table(void)
{
  int i;
  lookup_table(i, Ttop());
  ATtableDestroy(ST_tables[i]);
  ATtableRemove(ST_table_table, Ttop());
  return NULL;
}
コード例 #3
0
ファイル: tables.c プロジェクト: metaborg/stratego-releases
ATbool _destroy_table(void)
{
  int i;
  lookup_table(i, Ttop);
  ATtableDestroy(ST_tables[i]);
  ATtableRemove(ST_table_table, Ttop);
  return ATtrue;
}
コード例 #4
0
ファイル: relational-aterms.c プロジェクト: cwi-swat/aterms
void ATR_destroyRelationStore(ATRelationStore store) {
  ATtableDestroy(store);
}
コード例 #5
0
void T_destroyTable(Table table)
{
  if (table != NULL) {
    ATtableDestroy((ATermTable)table);
  }
}