<commit_before>#include <psp2/ctrl.h>
#include <psp2/touch.h>
#include <psp2/moduleinfo.h>
#include <psp2/kernel/processmgr.h>

#include <string>
#include <cstdio>
#include <vita2d.h>

#include "../vitamenulib/libvitamenu/menu_manager.h"
#include "../vitamenulib/libvitamenu/menu.h"
#include "../vitamenulib/libvitamenu/menu_item.h"
#include "../vitamenulib/libvitamenu/utils.h"

#include "libUVL/libuvl.h"

PSP2_MODULE_INFO(0, 0, "kmenu");

void log(std::string s)
{
	printf("%s%s", s.c_str(), "\n");
}

void load_helloworld()
{	
	char test_homebrew_file[] = "cache0:/VitaDefilerClient/Documents/helloworld.elf";


	if(uvl_load(&test_homebrew_file[0]) < 0)
	{
		log("Hello world failed to load!");
	}
	else
	{
		log("Hello world loaded!");
	}
}

int main() {
	log("Starting");
	vita2d_init();
<commit_msg>libUVL is C while rest of the program is c++<commit_after>#include <psp2/ctrl.h>
#include <psp2/touch.h>
#include <psp2/moduleinfo.h>
#include <psp2/kernel/processmgr.h>

#include <string>
#include <cstdio>
#include <vita2d.h>

#include "../vitamenulib/libvitamenu/menu_manager.h"
#include "../vitamenulib/libvitamenu/menu.h"
#include "../vitamenulib/libvitamenu/menu_item.h"
#include "../vitamenulib/libvitamenu/utils.h"

extern "C" {
	#include "libUVL/libuvl.h"
}

PSP2_MODULE_INFO(0, 0, "kmenu");

void log(std::string s)
{
	printf("%s%s", s.c_str(), "\n");
}

void load_helloworld()
{	
	char test_homebrew_file[] = "cache0:/VitaDefilerClient/Documents/helloworld.elf";


	if(uvl_load(&test_homebrew_file[0]) < 0)
	{
		log("Hello world failed to load!");
	}
	else
	{
		log("Hello world loaded!");
	}
}

int main() {
	log("Starting");
	vita2d_init();

{'fraction_non_alphanumeric': 0.18806509945750452, 'fraction_numerical': 0.014466546112115732, 'mean_word_length': 5.036363636363636, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 17, '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': '3045962', 'n_tokens_mistral': 747, 'n_tokens_neox': 711, 'n_words': 117}