<commit_before>#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "postscriptbarcode.h"

int main() {

	char *name="databaromni";
	char *data="THIS IS CODE 39";
	char *options="includetext";
	char *tmp, *ps, *abc;
	char **families;
	unsigned short num_families, i;

        BWIPP *ctx=bwipp_load_from_file("../barcode.ps");
        BWIPP *ctx2=bwipp_load_from_file("../barcode1.ps");

	printf("Version: %s\n", bwipp_get_version(ctx));
	printf("Version: %s\n", bwipp_get_version(ctx2));

	tmp=bwipp_emit_required_resources(ctx,name);
	ps=malloc(strlen(tmp)+1000*sizeof(char));
	ps[0]='\0';
	strcat(ps,"%!PS\n");
        strcat(ps,tmp);
	free(tmp);
	strcat(ps,"gsave\n");
	strcat(ps,"50 150 translate\n");
	tmp=bwipp_emit_exec(ctx,name,data,options);
        strcat(ps,tmp);
	free(tmp);
	strcat(ps,"grestore\n");
/*	printf("%s\n",ps); */
	free(ps);
<commit_msg>Update postscriptbarcode_test.c<commit_after>#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "postscriptbarcode.h"

int main() {

	char *name="databaromni";
	char *data="THIS IS CODE 39";
	char *options="includetext";
	char *tmp, *ps, *abc;
	char **families;
	unsigned short num_families, i;

        BWIPP *ctx=bwipp_load_from_file("../../build/monolithic/barcode.ps");
        BWIPP *ctx2=bwipp_load_from_file("../../build/monolithic_package/barcode.ps");

	printf("Version: %s\n", bwipp_get_version(ctx));
	printf("Version: %s\n", bwipp_get_version(ctx2));

	tmp=bwipp_emit_required_resources(ctx,name);
	ps=malloc(strlen(tmp)+1000*sizeof(char));
	ps[0]='\0';
	strcat(ps,"%!PS\n");
        strcat(ps,tmp);
	free(tmp);
	strcat(ps,"gsave\n");
	strcat(ps,"50 150 translate\n");
	tmp=bwipp_emit_exec(ctx,name,data,options);
        strcat(ps,tmp);
	free(tmp);
	strcat(ps,"grestore\n");
/*	printf("%s\n",ps); */
	free(ps);

{'fraction_non_alphanumeric': 0.20418271876719868, 'fraction_numerical': 0.0170610897083104, 'mean_word_length': 5.378947368421053, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3928383', 'n_tokens_mistral': 794, 'n_tokens_neox': 743, 'n_words': 111}