<commit_before>/* $Id */
#include <GL/glc.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define QUESOGLC_MAJOR 0
#define QUESOGLC_MINOR 2

static GLCchar* __glcExtensions = (GLCchar*) "GLC_QSO_utf8 GLC_SGI_full_name GLC_QSO_hinting";
static GLCchar* __glcRelease = (GLCchar*) "0.4";
static GLCchar* __glcVendor = (GLCchar*) "The QuesoGLC Project";

static GLCchar* __glcExtensionsUCS2 = NULL;
static GLCchar* __glcReleaseUCS2 = NULL;
static GLCchar* __glcVendorUCS2 = NULL;
static GLCchar* __glcExtensionsUCS4 = NULL;
static GLCchar* __glcReleaseUCS4 = NULL;
static GLCchar* __glcVendorUCS4 = NULL;

GLboolean checkError(GLCenum expectedError)
{
  GLCenum err = glcGetError();

  if (err == expectedError)
    return GL_TRUE;

  switch(err) {
  case GLC_NONE:
    printf("Unexpected GLC_NONE error\n");
    return GL_FALSE;
  case GLC_STATE_ERROR:
    printf("Unexpected GLC_STATE_ERROR\n");
    return GL_FALSE;
  case GLC_PARAMETER_ERROR:
    printf("Unexpected GLC_PARAMETER_ERROR\n");
    return GL_FALSE;
  case GLC_RESOURCE_ERROR:
    printf("Unexpected GLC_RESOURCE_ERROR\n");
    return GL_FALSE;
  default:
    printf("Unknown error 0x%X\n", err);
    return GL_FALSE;
  }
}

GLboolean callback(GLint inCode)
{
  printf("Code 0x%X\n", inCode);
  return GL_FALSE;
}<commit_msg>Fixes for Win32 build (explicit use of the CALLBACK macro)<commit_after>/* $Id */
#include <GL/glc.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define QUESOGLC_MAJOR 0
#define QUESOGLC_MINOR 2

static GLCchar* __glcExtensions = (GLCchar*) "GLC_QSO_utf8 GLC_SGI_full_name GLC_QSO_hinting";
static GLCchar* __glcRelease = (GLCchar*) "0.4";
static GLCchar* __glcVendor = (GLCchar*) "The QuesoGLC Project";

static GLCchar* __glcExtensionsUCS2 = NULL;
static GLCchar* __glcReleaseUCS2 = NULL;
static GLCchar* __glcVendorUCS2 = NULL;
static GLCchar* __glcExtensionsUCS4 = NULL;
static GLCchar* __glcReleaseUCS4 = NULL;
static GLCchar* __glcVendorUCS4 = NULL;

GLboolean checkError(GLCenum expectedError)
{
  GLCenum err = glcGetError();

  if (err == expectedError)
    return GL_TRUE;

  switch(err) {
  case GLC_NONE:
    printf("Unexpected GLC_NONE error\n");
    return GL_FALSE;
  case GLC_STATE_ERROR:
    printf("Unexpected GLC_STATE_ERROR\n");
    return GL_FALSE;
  case GLC_PARAMETER_ERROR:
    printf("Unexpected GLC_PARAMETER_ERROR\n");
    return GL_FALSE;
  case GLC_RESOURCE_ERROR:
    printf("Unexpected GLC_RESOURCE_ERROR\n");
    return GL_FALSE;
  default:
    printf("Unknown error 0x%X\n", err);
    return GL_FALSE;
  }
}

CALLBACK GLboolean callback(GLint inCode)
{
  printf("Code 0x%X\n", inCode);
  return GL_FALSE;
}
{'fraction_non_alphanumeric': 0.10759969902182091, 'fraction_numerical': 0.010534236267870579, 'mean_word_length': 5.029478458049887, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3570501', 'n_tokens_mistral': 1044, 'n_tokens_neox': 1031, 'n_words': 232}