mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 00:16:40 +00:00
[HIDPARSER]
* Do not include debug.h into the main header. * Do not define NDEBUG globally. CORE-7716 svn path=/trunk/; revision=61495
This commit is contained in:
parent
127d03729b
commit
2e1e78c234
6 changed files with 13 additions and 10 deletions
|
@ -1,7 +1,5 @@
|
||||||
|
|
||||||
add_definitions(
|
add_definitions(-DUNICODE -D_UNICODE)
|
||||||
-DUNICODE -D_UNICODE
|
|
||||||
-DNDEBUG)
|
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
context.c
|
context.c
|
||||||
|
|
|
@ -8,9 +8,11 @@
|
||||||
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "parser.h"
|
#include "parser.h"
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
static ULONG KeyboardScanCodes[256] =
|
static ULONG KeyboardScanCodes[256] =
|
||||||
{ /* 0 1 2 3 4 5 6 7 8 9 A B C D E F */
|
{ /* 0 1 2 3 4 5 6 7 8 9 A B C D E F */
|
||||||
/* 0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x001e, 0x0030, 0x002e, 0x0020, 0x0012, 0x0021, 0x0022, 0x0023, 0x0017, 0x0024, 0x0025, 0x0026,
|
/* 0 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x001e, 0x0030, 0x002e, 0x0020, 0x0012, 0x0021, 0x0022, 0x0023, 0x0017, 0x0024, 0x0025, 0x0026,
|
||||||
|
|
|
@ -8,9 +8,11 @@
|
||||||
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "parser.h"
|
#include "parser.h"
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
ULONG Size;
|
ULONG Size;
|
||||||
|
|
|
@ -10,6 +10,9 @@
|
||||||
|
|
||||||
#include "parser.h"
|
#include "parser.h"
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
TranslateHidParserStatus(
|
TranslateHidParserStatus(
|
||||||
IN HIDPARSER_STATUS Status)
|
IN HIDPARSER_STATUS Status)
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
#include <ntddk.h>
|
#include <ntddk.h>
|
||||||
#include <hidpddi.h>
|
#include <hidpddi.h>
|
||||||
#include <hidpi.h>
|
#include <hidpi.h>
|
||||||
#ifndef NDEBUG
|
|
||||||
#define NDEBUG
|
|
||||||
#endif
|
|
||||||
#include <debug.h>
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// function prototypes
|
// function prototypes
|
||||||
|
|
|
@ -8,9 +8,11 @@
|
||||||
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "parser.h"
|
#include "parser.h"
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
static UCHAR ItemSize[4] = { 0, 1, 2, 4 };
|
static UCHAR ItemSize[4] = { 0, 1, 2, 4 };
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue