<commit_before>
/* $Id$ */

# ifndef _TYPEGMOD_H_
# define _TYPEGMOD_H_

# include "type.h"

/**
 *
 *  file typegmod.h
 *   (C) 2001 by <NAME>
 *   <NAME>
 *  This module supplies routines that support changing the type graph.
 */

/**
 *
 *   - replaces one type by the other.
 *   @param The old type that shall be replaced by the new type.
 *   Old type is replaced by new_type.  All references to old_type
 *   now point to new_type.  The memory for the old type is destroyed,
 *   but still used.  Therefore it is not freed.
 *   All referenced to this memory will be lost after a certain while.
 *   An exception is the list of types in irp (irprog.h).
 *   In the future there might be a routine to recover the memory, but
 *   this will be at considerable runtime cost.
 *
 */
INLINE void exchange_types(type *old_type, type *new_type);

/**
 *
 *   - skip id types until a useful type is reached.
 *   @param A type of arbitrary kind.
 *   tp if it is not an id type.
 *   If tp is an id type retruns the real type it stands for.
 *
 */
INLINE type *skip_tid(type *tp);

# endif /*_TYPEGMOD_H_ */<commit_msg>Fixed doxygen docu.<commit_after>/*
 * typegmod.h
 *
 * (C) 2001 by <NAME>
 * <NAME>
 *
 * $Id$
 */

# ifndef _TYPEGMOD_H_
# define _TYPEGMOD_H_

# include "type.h"

/**
 *
 * @file typegmod.h
 *  This module supplies routines that support changing the type graph.
 */

/**
 *   replaces one type by the other.
 *
 *   Old type is replaced by new_type.  All references to old_type
 *   now point to new_type.  The memory for the old type is destroyed,
 *   but still used.  Therefore it is not freed.
 *   All referenced to this memory will be lost after a certain while.
 *   An exception is the list of types in irp (irprog.h).
 *   In the future there might be a routine to recover the memory, but
 *   this will be at considerable runtime cost.
 *
 *  @param old_type  - The old type that shall be replaced by the new type.
 *  @param new_type  - The new type that will replace old_type.
 *
 */
INLINE void exchange_types(type *old_type, type *new_type);

/**
 *   skip id types until a useful type is reached.
 *
 *   @param tp - A type of arbitrary kind.
 *
 *   @return
 *   tp if it is not an id type.
 *   If tp is an id type returns the real type it stands for.
 */
INLINE type *skip_tid(type *tp);

# endif /*_TYPEGMOD_H_ */
{'fraction_non_alphanumeric': 0.08924776880577985, 'fraction_numerical': 0.003399915002124947, 'mean_word_length': 2.784565916398714, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '572071', 'n_tokens_mistral': 775, 'n_tokens_neox': 757, 'n_words': 341}