fix malloc functions
[protos/libecoli.git] / libecoli / ecoli_malloc.h
index e80c3d9..42cbf87 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.
  *