<commit_before>#include "type/struct_union.h"

_CTF_GET_PROPERTY_IMPL(
	ctf_struct_union_get_name,
	ctf_struct_union,
	char*,
	name)

_CTF_SET_PROPERTY_IMPL(
	ctf_struct_union_set_name,
	ctf_struct_union,
	char*,
	name)

_CTF_GET_PROPERTY_IMPL(
	ctf_struct_union_get_member_count,
	ctf_struct_union,
	ctf_count,
	member_count)

_CTF_LISTING_IMPL(
	ctf_struct_union_get_next_member, 
	ctf_struct_union,
	ctf_member,
	member_head,
	members)

_CTF_ADD_IMPL(
	ctf_struct_union_add_member,
	ctf_struct_union,
	ctf_member,
	member_head,
	members,
	member_count)

_CTF_FROM_TYPE_IMPL(
	ctf_struct_union_init,
	ctf_struct_union)

_CTF_CREATE_1_LIST_IMPL(
	ctf_struct_union_create,
	ctf_struct_union,
	CTF_STRUCT_UNION_SIZE,
	member_head,
	member_count)
<commit_msg>Adapted struct/union to new API change<commit_after>#include "type/struct_union.h"

_CTF_GET_PROPERTY_IMPL(
	ctf_struct_union_get_name,
	ctf_struct_union,
	char*,
	name)

_CTF_SET_PROPERTY_IMPL(
	ctf_struct_union_set_name,
	ctf_struct_union,
	char*,
	name)

_CTF_GET_PROPERTY_IMPL(
	ctf_struct_union_get_member_count,
	ctf_struct_union,
	ctf_count,
	member_count)

_CTF_LISTING_IMPL(
	ctf_struct_union_get_next_member, 
	ctf_struct_union,
	ctf_member,
	member_head,
	members)

_CTF_ADD_IMPL(
	ctf_struct_union_add_member,
	ctf_struct_union,
	ctf_member,
	member_head,
	members,
	member_count)

_CTF_FROM_TYPE_IMPL(
	ctf_struct_union_init,
	ctf_struct_union)

_CTF_CREATE_1_LIST_IMPL(
	ctf_struct_union_create,
	ctf_struct_union,
	CTF_STRUCT_UNION_SIZE,
	member_head,
	CTF_MEMBER_HEAD_SIZE,
	member_count)

{'fraction_non_alphanumeric': 0.06145966709346991, 'fraction_numerical': 0.0012804097311139564, 'mean_word_length': 8.359281437125748, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3708158', 'n_tokens_mistral': 738, 'n_tokens_neox': 743, 'n_words': 84}