/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2008 Index Data and Mike Taylor
+ * Copyright (C) 1998-2013 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <string.h>
#include <yazpp/z-databases.h>
void Yaz_Z_Databases::set (int num, const char **db)
{
nmem_reset (nmem);
-
+
m_list = (char **) nmem_malloc (nmem, num * sizeof(char*));
m_num = num;
for (int i = 0; i<num; i++)
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab