<commit_before>﻿using System.Collections.Generic;
using System;

public class CustomExport {

	public static void OnAddCustomClass(LuaCodeGen.ExportGenericDelegate add)
    {
        add(typeof(System.Func<int>),null);
        add(typeof(System.Action<int,string>),null);
        add(typeof(System.Action<int, Dictionary<int, object>>),null);
		add(typeof(List<int>), "ListInt");
		add(typeof(Dictionary<int,string>), "DictIntStr");
        // add your custom class here
    }

    public static void OnAddCustomAssembly(ref List<string> list)
    {
        // add your custom assembly here
        // you can build a dll for 3rd library like ngui titled assembly name "NGUI", put it in Assets folder
        // add it's name into list, slua will generate all exported interface automatically for you

        //list.Add("NGUI");
    }<commit_msg>update comment<commit_after>﻿using System.Collections.Generic;
using System;

public class CustomExport {

	public static void OnAddCustomClass(LuaCodeGen.ExportGenericDelegate add)
    {
        add(typeof(System.Func<int>),null);
        add(typeof(System.Action<int,string>),null);
        add(typeof(System.Action<int, Dictionary<int, object>>),null);
		add(typeof(List<int>), "ListInt");
		add(typeof(Dictionary<int,string>), "DictIntStr");
        // add your custom class here
		// add( type, typename)
		// type is what you want to export
		// typename used for simplify generic type name, like List<int> named to "ListInt", if not a generic type keep typename as null
    }

    public static void OnAddCustomAssembly(ref List<string> list)
    {
        // add your custom assembly here
        // you can build a dll for 3rd library like ngui titled assembly name "NGUI", put it in Assets folder
        // add it's name into list, slua will generate all exported interface automatically for you

        //list.Add("NGUI");
    }
{'fraction_non_alphanumeric': 0.10752118644067797, 'fraction_numerical': 0.001059322033898305, 'mean_word_length': 3.4342723004694835, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, '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': '3608990', 'n_tokens_mistral': 549, 'n_tokens_neox': 524, 'n_words': 174}