<commit_before>/*
 * tools.h
 *
 *  Created on: May 4, 2011
 *      Author: wozniak
 */

#ifndef TOOLS_H
#define TOOLS_H

/**
   Determine the length of an array of pointers
 */
int array_length(void** array);

#define append(string, args...) string += sprintf(string, ## args)

#endif /* TOOLS_H_ */<commit_msg>Check in new macro vappend()- not actually used<commit_after>/*
 * tools.h
 *
 *  Created on: May 4, 2011
 *      Author: wozniak
 */

#ifndef TOOLS_H
#define TOOLS_H

/**
   Determine the length of an array of pointers
 */
int array_length(void** array);

#define append(string,  args...) string += sprintf(string, ## args)
#define vappend(string, args...) string += vsprintf(string, ## args)

#endif
{'fraction_non_alphanumeric': 0.14726507713884993, 'fraction_numerical': 0.014025245441795231, 'mean_word_length': 3.518987341772152, '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': '1738703', 'n_tokens_mistral': 258, 'n_tokens_neox': 246, 'n_words': 76}