[math] Adding array_{op}_times_scalar methods

This commit is contained in:
Al
2016-01-09 01:42:54 -05:00
parent 2f1e2139ca
commit 9c4b5ccbb1
2 changed files with 225 additions and 200 deletions

View File

@@ -96,7 +96,7 @@ static inline void _aligned_free(void *p)
if (array == NULL) return; \
if (array->a != NULL) free(array->a); \
free(array); \
}
}
#define __VECTOR_DESTROY_FREE_DATA(name, type, free_func) \
@@ -109,7 +109,7 @@ static inline void _aligned_free(void *p)
} \
free(array->a); \
free(array); \
}
}
#define VECTOR_INIT(name, type) \
__VECTOR_BASE(name, type) \