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
Doc MARC utils. Remove yaz_display_OPAC
[yaz-moved-to-github.git]
/
src
/
odr_mem.c
diff --git
a/src/odr_mem.c
b/src/odr_mem.c
index
555c443
..
88f012c
100644
(file)
--- a/
src/odr_mem.c
+++ b/
src/odr_mem.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2009 Index Data
+ * Copyright (C) 1995-2010 Index Data
* See the file LICENSE for details.
*/
/**
* See the file LICENSE for details.
*/
/**
@@
-27,7
+27,7
@@
NMEM odr_extract_mem(ODR o)
return r;
}
return r;
}
-void *odr_malloc(ODR o, int size)
+void *odr_malloc(ODR o, size_t size)
{
return nmem_malloc(o->mem, size);
}
{
return nmem_malloc(o->mem, size);
}
@@
-57,7
+57,7
@@
Odr_bool *odr_booldup(ODR o, Odr_bool v)
return nmem_booldup(o->mem, v);
}
return nmem_booldup(o->mem, v);
}
-int odr_total(ODR o)
+size_t odr_total(ODR o)
{
return nmem_total(o->mem);
}
{
return nmem_total(o->mem);
}