/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2008 Index Data
+ * Copyright (C) 1995-2009 Index Data
* See the file LICENSE for details.
*/
/**
return nmem_strdupn(o->mem, str, n);
}
-int *odr_intdup(ODR o, int v)
+Odr_int *odr_intdup(ODR o, Odr_int v)
{
return nmem_intdup(o->mem, v);
}
+Odr_bool *odr_booldup(ODR o, Odr_bool v)
+{
+ return nmem_booldup(o->mem, v);
+}
+
int odr_total(ODR o)
{
return nmem_total(o->mem);
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab