<commit_before>/*
 * Copyright (C) 2009 <NAME> <<EMAIL>>.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */

#ifdef __BLOCKS__
#undef __BLOCKS__
#endif

#ifndef HS_WEBKIT_H
#define HS_WEBKIT_H
/* to avoid stdbool.h error in JavaScriptCore/JSBase.h*/
#define _Bool int

#define WINAPI
#define CALLBACK

/* include webkit headers*/
#include <webkit/webkit.h>
#include <webkit/webkitdom.h>
#endif

#include "events.h"<commit_msg>Fix building with GCC 5<commit_after>/*
 * Copyright (C) 2009 <NAME> <<EMAIL>>.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */

#ifdef __BLOCKS__
#undef __BLOCKS__
#endif

#ifndef HS_WEBKIT_H
#define HS_WEBKIT_H
/* to avoid stdbool.h error in JavaScriptCore/JSBase.h*/
#define _Bool int

#define WINAPI
#define CALLBACK

/* include webkit headers*/
#include <webkit/webkit.h>
#include <webkit/webkitdom.h>
#endif

#include "events.h"

#undef Bool
#undef True
#undef False
#undef true
#undef false
#undef Button1 
#undef Button2
#undef Button3
#undef Button4
#undef Button5
#undef Button1Mask 
#undef Button2Mask
#undef Button3Mask
#undef Button4Mask
#undef Button5Mask

#undef ShiftMask
#undef LockMask
#undef ControlMask
#undef Mod1Mask
#undef Mod2Mask
#undef Mod3Mask
#undef Mod4Mask
#undef Mod5Mask

#undef None
#undef ParentRelative
#undef CopyFromParent
#undef PointerWindow
#undef InputFocus
#undef PointerRoot
#undef AnyPropertyType
#undef AnyKey
#undef AnyButton
#undef AllTemporary
#undef CurrentTime
#undef NoSymbol

#undef NoEventMask
#undef KeyPressMask
#undef KeyReleaseMask
#undef ButtonPressMask
#undef ButtonReleaseMask
#undef EnterWindowMask
#undef LeaveWindowMask
#undef PointerMotionMask
#undef PointerMotionHintMask
#undef Button1MotionMask
#undef Button2MotionMask
#undef Button3MotionMask
#undef Button4MotionMask
#undef Button5MotionMask
#undef ButtonMotionMask
#undef KeymapStateMask
#undef ExposureMask
#undef VisibilityChangeMask
#undef StructureNotifyMask
#undef ResizeRedirectMask
#undef SubstructureNotifyMask
#undef SubstructureRedirectMask
#undef FocusChangeMask
#undef PropertyChangeMask
#undef ColormapChangeMask
#undef OwnerGrabButtonMask
#undef Status
#undef Expose
#undef Below
#undef GrabSuccess
#undef GrabAlreadyGrabbed
#undef GrabInvalidTime
#undef GrabNotViewable
#undef GrabFrozen
#undef OwnerChangeNewOwner
#undef OwnerChangeDestroy
#undef OwnerChangeClose
#undef NULL
{'fraction_non_alphanumeric': 0.0666140073723012, 'fraction_numerical': 0.013954713006845709, 'mean_word_length': 5.279338842975206, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '1002940', 'n_tokens_mistral': 1143, 'n_tokens_neox': 1076, 'n_words': 465}