<commit_before>// All names loose the CK_ prefix
// All names loose the hungarian notation
// All the defines are kept from the C package so: C.CKM_RSA_X_509
// All struct's get a Go variant
//
package pkcs11

/*
#define CK_PTR *
#ifndef NULL_PTR
#define NULL_PTR 0
#endif
#define CK_DEFINE_FUNCTION(returnType, name) returnType name
#define CK_DECLARE_FUNCTION(returnType, name) returnType name
#define CK_DECLARE_FUNCTION_POINTER(returnType, name) returnType (* name)
#define CK_CALLBACK_FUNCTION(returnType, name) returnType (* name)

#include <stdlib.h>
#include "pkcs11.h"
*/
import "C"

// A Void is used a lot in the PKCS#11 library, it always consists of a *void and a length.
// We use []byte as a subsitite in Go.
type Void []byte

type SlotID C.CK_SLOT_ID

type Error C.CK_RV

type Version struct {
	Major byte<commit_msg>Add function that returns void pointer<commit_after>// All names loose the CK_ prefix
// All names loose the hungarian notation
// All the defines are kept from the C package so: C.CKM_RSA_X_509
// All struct's get a Go variant
//
package pkcs11

/*
#define CK_PTR *
#ifndef NULL_PTR
#define NULL_PTR 0
#endif
#define CK_DEFINE_FUNCTION(returnType, name) returnType name
#define CK_DECLARE_FUNCTION(returnType, name) returnType name
#define CK_DECLARE_FUNCTION_POINTER(returnType, name) returnType (* name)
#define CK_CALLBACK_FUNCTION(returnType, name) returnType (* name)

#include <stdlib.h>
#include "pkcs11.h"

*void VoidPointer() {
	void *p;
	return p;
}

*/
import "C"

// A Void is used a lot in the PKCS#11 library, it always consists of a *void and a length.
// We use []byte as a subsitite in Go.
type Void []byte

type SlotID C.CK_SLOT_ID

type Error C.CK_RV

type Version struct {
	Major byte
{'fraction_non_alphanumeric': 0.08860759493670886, 'fraction_numerical': 0.011507479861910242, 'mean_word_length': 4.538216560509555, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2515116', 'n_tokens_mistral': 617, 'n_tokens_neox': 573, 'n_words': 224}