git.droids-corp.org
/
protos
/
libecoli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix malloc functions
[protos/libecoli.git]
/
libecoli
/
ecoli_malloc.h
diff --git
a/libecoli/ecoli_malloc.h
b/libecoli/ecoli_malloc.h
index
e80c3d9
..
42cbf87
100644
(file)
--- a/
libecoli/ecoli_malloc.h
+++ b/
libecoli/ecoli_malloc.h
@@
-171,6
+171,14
@@
void ec_free_func(void *ptr);
ret_; \
})
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.
*
/**
* Allocate and initialize an array of elements.
*