-static _XBT_INLINE
-void
-__cursor_not_null(xbt_dict_cursor_t cursor) {
-
- xbt_assert0(cursor, "Null cursor");
-
- if (!cursor->head)
- THROW0(arg_error,0,"Null headed cursor");
-}
-
-
-static _XBT_INLINE
-void
-_cursor_push_keys(xbt_dict_cursor_t cursor,
- xbt_dictelm_t elm) {
- xbt_dictelm_t child = NULL;
- int i = 0;
- static volatile int count = 0; /* ??? */
-
- CDEBUG3(dict_cursor, "Push childs of %p (%.*s) in the cursor", (void*)elm, elm->key_len, elm->key);
-
- if (!elm->internal) {
- xbt_dynar_push(cursor->keys, &elm->key );
- xbt_dynar_push(cursor->key_lens, &elm->key_len);
- count++;
- }
-
- xbt_dynar_foreach(elm->sub, i, child) {
- if (child)
- _cursor_push_keys(cursor, child);
- }
-
- CDEBUG1(dict_cursor, "Count = %d", count);
+static inline void __cursor_not_null(xbt_dict_cursor_t cursor)
+{
+ xbt_assert(cursor, "Null cursor");