/* dict_cursor - iterators over dictionnaries */
-/* Authors: Martin Quinson */
-/* Copyright (C) 2003,2004 Martin Quinson. */
+/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
- under the terms of the license (GNU LGPL) which comes with this package. */
+ * under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/misc.h"
#include "dict_private.h"
*/
xbt_dict_cursor_t
xbt_dict_cursor_new(const xbt_dict_t head) {
- xbt_error_t errcode = no_error;
xbt_dict_cursor_t res = NULL;
res = xbt_new(s_xbt_dict_cursor_t,1);
void
_cursor_push_keys(xbt_dict_cursor_t cursor,
xbt_dictelm_t elm) {
- xbt_error_t errcode = no_error;
xbt_dictelm_t child = NULL;
int i = 0;
static volatile int count = 0; /* ??? */
*/
void
xbt_dict_cursor_rewind(xbt_dict_cursor_t cursor) {
- xbt_error_t errcode = no_error;
CDEBUG0(dict_cursor, "xbt_dict_cursor_rewind");
xbt_assert(cursor);