diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-09-29 13:05:44 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-09-29 13:05:44 +0200 |
| commit | cf7d8169ec12cb3adf90d4ff78b3257e74985302 (patch) | |
| tree | f666589acfd68e76bbde4e74eead44ae7819d0bb /libffwd/alloc.h | |
| parent | 91871be6ece9317c5d49353f6474583e7e28168d (diff) | |
| download | langdet-cf7d8169ec12cb3adf90d4ff78b3257e74985302.tar.gz langdet-cf7d8169ec12cb3adf90d4ff78b3257e74985302.zip | |
Remove unused model families and inference paths
Diffstat (limited to 'libffwd/alloc.h')
| -rw-r--r-- | libffwd/alloc.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libffwd/alloc.h b/libffwd/alloc.h index a12ee7a..d3ef81a 100644 --- a/libffwd/alloc.h +++ b/libffwd/alloc.h @@ -10,22 +10,13 @@ /* out = a * b, or -1 if the product overflows size_t. */ int mul_size(size_t a, size_t b, size_t *out); -/* out = a + b, or -1 if the sum overflows size_t. */ -int add_size(size_t a, size_t b, size_t *out); - /* Grow sequence capacity without shrinking. */ int grow_cap(int current, int needed, int *out); /* realloc *ptr to hold count floats; *ptr unchanged on failure. */ int realloc_floats(float **ptr, size_t count); -/* malloc count floats, NULL on overflow/failure. */ -float *malloc_floats(size_t count); - /* realloc *ptr to hold rows*cols floats; -1 on negative dims/overflow/failure. */ int realloc_floats_2d(float **ptr, int rows, int cols); -/* realloc *ptr to hold count ints; *ptr unchanged on failure. */ -int realloc_ints(int **ptr, size_t count); - #endif /* FFWD_ALLOC_H */ |
