mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-07 18:55:18 +01:00
SRP remove custom memory allocator
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user