<commit_before>/* strbld.h - string builder */

#ifndef STRBLD_H_INCLUDED
#define STRBLD_H_INCLUDED

#include <stdlib.h>
#include <stdio.h>

#ifdef __cplusplus
extern "C" {
#endif

char *strbld(char *dest, const char *src);
char *strbld_array(char *dest, const char *src[]);
char *strnbld(char *dest, const char *src, size_t n);

#ifdef __cplusplus
}
#endif

// c99
#define multi_strbld(dest, ...) {\
	strbld_array(dest, (const char*[]){__VA_ARGS__, NULL});\
}

#endif /* STRBLD_H_INCLUDED */
<commit_msg>Added a preprocessor directive for the code that requires C99.<commit_after>/* strbld.h - string builder */

#ifndef STRBLD_H_INCLUDED
#define STRBLD_H_INCLUDED

#include <stdlib.h>
#include <stdio.h>

#ifdef __cplusplus
extern "C" {
#endif

char *strbld(char *dest, const char *src);
char *strbld_array(char *dest, const char *src[]);
char *strnbld(char *dest, const char *src, size_t n);

#ifdef __cplusplus
}
#endif

#if __STDC_VERSION__ >= 199901L
// c99
#define multi_strbld(dest, ...) {\
	strbld_array(dest, (const char*[]){__VA_ARGS__, NULL});\
}
#endif

#endif /* STRBLD_H_INCLUDED */

{'fraction_non_alphanumeric': 0.15209471766848817, 'fraction_numerical': 0.01092896174863388, 'mean_word_length': 5.105555555555555, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '5571258', 'n_tokens_mistral': 459, 'n_tokens_neox': 441, 'n_words': 111}