1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

SRP remove custom memory allocator

This commit is contained in:
red-001 2024-09-02 05:58:45 +01:00 committed by sfan5
parent 197d09cc53
commit 1527cdf6a4
2 changed files with 39 additions and 62 deletions

View file

@ -79,15 +79,6 @@ typedef enum {
SRP_OK,
} SRP_Result;
/* Sets the memory functions used by srp.
* Note: this doesn't set the memory functions used by gmp,
* but it is supported to have different functions for srp and gmp.
* Don't call this after you have already allocated srp structures.
*/
void srp_set_memory_functions(
void *(*new_srp_alloc) (size_t),
void *(*new_srp_realloc) (void *, size_t),
void (*new_srp_free) (void *));
/* Out: bytes_v, len_v
*