Fix code to stick to proper naming convention.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#include "table.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
void table_init(table* table) {
|
||||
void table_init(libab_table* table) {
|
||||
ht_init(&table->table);
|
||||
table->parent = NULL;
|
||||
}
|
||||
table_entry* table_search(table* table, const char* string) {
|
||||
libab_table_entry* table_search(libab_table* table, const char* string) {
|
||||
void* to_return = NULL;
|
||||
do {
|
||||
to_return = ht_get(&table->table, string);
|
||||
@@ -13,6 +13,6 @@ table_entry* table_search(table* table, const char* string) {
|
||||
} while(table && to_return == NULL);
|
||||
return to_return;
|
||||
}
|
||||
void table_free(table* table) {
|
||||
void table_free(libab_table* table) {
|
||||
ht_free(&table->table);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user