projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better ODR diagnostics for missing elements which includes additional
[yaz-moved-to-github.git]
/
odr
/
odr_mem.c
diff --git
a/odr/odr_mem.c
b/odr/odr_mem.c
index
43f3c54
..
2ec348a
100644
(file)
--- a/
odr/odr_mem.c
+++ b/
odr/odr_mem.c
@@
-2,7
+2,7
@@
* Copyright (c) 1995-2003, Index Data
* See the file LICENSE for details.
*
* Copyright (c) 1995-2003, Index Data
* See the file LICENSE for details.
*
- * $Id: odr_mem.c,v 1.22 2003-03-11 11:03:31 adam Exp $
+ * $Id: odr_mem.c,v 1.23 2003-03-18 13:34:35 adam Exp $
*/
#if HAVE_CONFIG_H
#include <config.h>
*/
#if HAVE_CONFIG_H
#include <config.h>
@@
-37,6
+37,11
@@
char *odr_strdup(ODR o, const char *str)
return nmem_strdup(o->mem, str);
}
return nmem_strdup(o->mem, str);
}
+char *odr_strdupn(ODR o, const char *str, size_t n)
+{
+ return nmem_strdupn(o->mem, str, n);
+}
+
int *odr_intdup(ODR o, int v)
{
return nmem_intdup(o->mem, v);
int *odr_intdup(ODR o, int v)
{
return nmem_intdup(o->mem, v);