More interpolation support

This commit is contained in:
simondlevy
2018-07-04 15:10:07 -04:00
parent 22ee7dc8cd
commit c5b86a6940
3 changed files with 19 additions and 11 deletions

View File

@@ -62,12 +62,6 @@ static double * double_alloc(int size)
return (double *)safe_malloc(size * sizeof(double));
}
static float * float_alloc(int size)
{
return (float *)safe_malloc(size * sizeof(float));
}
static void
swap(int * a, int * b)
{
@@ -264,6 +258,13 @@ int *
return (int *)safe_malloc(size * sizeof(int));
}
float *
float_alloc(
int size)
{
return (float *)safe_malloc(size * sizeof(float));
}
void
map_init(
map_t * map,

View File

@@ -86,6 +86,10 @@ int *
int_alloc(
int size);
float *
float_alloc(
int size);
void
map_init(
map_t * map,