2018-06-15 20:38:19 -07:00
|
|
|
#include "free_functions.h"
|
|
|
|
#include "custom.h"
|
|
|
|
#include "function_list.h"
|
|
|
|
#include "parsetype.h"
|
|
|
|
#include "table.h"
|
|
|
|
#include "value.h"
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
2018-06-17 19:43:18 -07:00
|
|
|
void libab_free_function(void* func) {
|
2018-06-15 20:38:19 -07:00
|
|
|
libab_function_free(func);
|
|
|
|
free(func);
|
|
|
|
}
|
2018-06-17 19:43:18 -07:00
|
|
|
void libab_free_function_list(void* function_list) {
|
2018-06-15 20:38:19 -07:00
|
|
|
libab_function_list_free(function_list);
|
|
|
|
free(function_list);
|
|
|
|
}
|
2018-06-17 19:43:18 -07:00
|
|
|
void libab_free_unit(void* unit) {
|
2018-06-15 20:38:19 -07:00
|
|
|
|
2018-08-10 00:52:12 -07:00
|
|
|
}
|
|
|
|
void libab_free_bool(void* b) {
|
|
|
|
free(b);
|
2018-06-15 20:38:19 -07:00
|
|
|
}
|
2018-06-17 19:43:18 -07:00
|
|
|
void libab_free_parsetype(void* parsetype) {
|
2018-06-15 20:38:19 -07:00
|
|
|
libab_parsetype_free(parsetype);
|
|
|
|
free(parsetype);
|
|
|
|
}
|
2018-06-17 19:43:18 -07:00
|
|
|
void libab_free_table(void* table) {
|
2018-06-15 20:38:19 -07:00
|
|
|
libab_table_free(table);
|
|
|
|
free(table);
|
|
|
|
}
|
2018-06-17 19:43:18 -07:00
|
|
|
void libab_free_value(void* value) {
|
2018-06-15 20:38:19 -07:00
|
|
|
libab_value_free(value);
|
|
|
|
free(value);
|
|
|
|
}
|