]> git.droids-corp.org - protos/libecoli.git/blobdiff - libecoli/ecoli_malloc.h
fix malloc functions
[protos/libecoli.git] / libecoli / ecoli_malloc.h
index e80c3d9116194244bf773152ff58d26e4f8c5770..42cbf87a30e6a3a1f70adfaf54d8c6938c5b483c 100644 (file)
@@ -171,6 +171,14 @@ void ec_free_func(void *ptr);
        ret_;                                                           \
        })
 
+/**
+ * Ecoli realloc function.
+ *
+ * Use this function when the macro ec_realloc() cannot be used,
+ * for instance when it is passed as a callback pointer.
+ */
+void ec_realloc_func(void *ptr, size_t size);
+
 /**
  * Allocate and initialize an array of elements.
  *