2018-04-10 23:37:59 -07:00
|
|
|
#include "basetype.h"
|
|
|
|
#include "util.h"
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
2018-05-17 14:53:48 -07:00
|
|
|
void libab_basetype_init(libab_basetype* basetype, void (*free_function)(void*),
|
|
|
|
int n, const libab_basetype_param params[]) {
|
2018-04-10 23:37:59 -07:00
|
|
|
basetype->params = params;
|
|
|
|
basetype->count = n;
|
2018-04-24 18:28:20 -07:00
|
|
|
basetype->free_function = free_function;
|
2018-04-10 23:37:59 -07:00
|
|
|
}
|
2018-04-21 14:09:01 -07:00
|
|
|
void libab_basetype_free(libab_basetype* basetype) {}
|