<commit_before>/*
 * This file is part of libFirm.
 * Copyright (C) 2012 University of Karlsruhe.
 */

/**
 * @file
 * @author    <NAME>, <NAME>, <NAME>, <NAME>
 */
#include "irloop.h"
#include "tv.h"

/**
 * Ideally, this macro would check if size bytes could be read at
 * pointer p. No generic solution.
 */
#define POINTER_READ(p, size) (p)

/* returns the kind of the thing */
firm_kind get_kind(const void *firm_thing)
{
	return POINTER_READ(firm_thing, sizeof(firm_kind)) ? *(firm_kind *)firm_thing : k_BAD;
}<commit_msg>Remove the unimplemented macro POINTER_READ().<commit_after>/*
 * This file is part of libFirm.
 * Copyright (C) 2012 University of Karlsruhe.
 */

/**
 * @file
 * @author    <NAME>, <NAME>, <NAME>, <NAME>
 */
#include "irloop.h"
#include "tv.h"

/* returns the kind of the thing */
firm_kind get_kind(const void *firm_thing)
{
	return *(firm_kind*)firm_thing;
}
{'fraction_non_alphanumeric': 0.15280898876404495, 'fraction_numerical': 0.008988764044943821, 'mean_word_length': 3.977653631284916, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3358967', 'n_tokens_mistral': 334, 'n_tokens_neox': 312, 'n_words': 99}