Skip to content

Commit 53a4c22

Browse files
author
Francisco Lopes
committed
macro typo
1 parent cd36af7 commit 53a4c22

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

include/interception.h

+23-23
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
#ifndef _ITERCEPTION_H_
2-
#define _ITERCEPTION_H_
1+
#ifndef _INTERCEPTION_H_
2+
#define _INTERCEPTION_H_
33

44
#ifdef INTERCEPTION_STATIC
5-
#define ITERCEPTION_API
5+
#define INTERCEPTION_API
66
#else
77
#if defined _WIN32 || defined __CYGWIN__
88
#ifdef INTERCEPTION_EXPORT
99
#ifdef __GNUC__
10-
#define ITERCEPTION_API __attribute__((dllexport))
10+
#define INTERCEPTION_API __attribute__((dllexport))
1111
#else
12-
#define ITERCEPTION_API __declspec(dllexport)
12+
#define INTERCEPTION_API __declspec(dllexport)
1313
#endif
1414
#else
1515
#ifdef __GNUC__
16-
#define ITERCEPTION_API __attribute__((dllimport))
16+
#define INTERCEPTION_API __attribute__((dllimport))
1717
#else
18-
#define ITERCEPTION_API __declspec(dllimport)
18+
#define INTERCEPTION_API __declspec(dllimport)
1919
#endif
2020
#endif
2121
#else
2222
#if __GNUC__ >= 4
23-
#define ITERCEPTION_API __attribute__ ((visibility("default")))
23+
#define INTERCEPTION_API __attribute__ ((visibility("default")))
2424
#else
25-
#define ITERCEPTION_API
25+
#define INTERCEPTION_API
2626
#endif
2727
#endif
2828
#endif
@@ -159,33 +159,33 @@ typedef struct
159159

160160
typedef char InterceptionStroke[sizeof(InterceptionMouseStroke)];
161161

162-
InterceptionContext ITERCEPTION_API interception_create_context(void);
162+
InterceptionContext INTERCEPTION_API interception_create_context(void);
163163

164-
void ITERCEPTION_API interception_destroy_context(InterceptionContext context);
164+
void INTERCEPTION_API interception_destroy_context(InterceptionContext context);
165165

166-
InterceptionPrecedence ITERCEPTION_API interception_get_precedence(InterceptionContext context, InterceptionDevice device);
166+
InterceptionPrecedence INTERCEPTION_API interception_get_precedence(InterceptionContext context, InterceptionDevice device);
167167

168-
void ITERCEPTION_API interception_set_precedence(InterceptionContext context, InterceptionDevice device, InterceptionPrecedence precedence);
168+
void INTERCEPTION_API interception_set_precedence(InterceptionContext context, InterceptionDevice device, InterceptionPrecedence precedence);
169169

170-
InterceptionFilter ITERCEPTION_API interception_get_filter(InterceptionContext context, InterceptionDevice device);
170+
InterceptionFilter INTERCEPTION_API interception_get_filter(InterceptionContext context, InterceptionDevice device);
171171

172-
void ITERCEPTION_API interception_set_filter(InterceptionContext context, InterceptionPredicate predicate, InterceptionFilter filter);
172+
void INTERCEPTION_API interception_set_filter(InterceptionContext context, InterceptionPredicate predicate, InterceptionFilter filter);
173173

174-
InterceptionDevice ITERCEPTION_API interception_wait(InterceptionContext context);
174+
InterceptionDevice INTERCEPTION_API interception_wait(InterceptionContext context);
175175

176-
InterceptionDevice ITERCEPTION_API interception_wait_with_timeout(InterceptionContext context, unsigned long milliseconds);
176+
InterceptionDevice INTERCEPTION_API interception_wait_with_timeout(InterceptionContext context, unsigned long milliseconds);
177177

178-
int ITERCEPTION_API interception_send(InterceptionContext context, InterceptionDevice device, const InterceptionStroke *stroke, unsigned int nstroke);
178+
int INTERCEPTION_API interception_send(InterceptionContext context, InterceptionDevice device, const InterceptionStroke *stroke, unsigned int nstroke);
179179

180-
int ITERCEPTION_API interception_receive(InterceptionContext context, InterceptionDevice device, InterceptionStroke *stroke, unsigned int nstroke);
180+
int INTERCEPTION_API interception_receive(InterceptionContext context, InterceptionDevice device, InterceptionStroke *stroke, unsigned int nstroke);
181181

182-
unsigned int ITERCEPTION_API interception_get_hardware_id(InterceptionContext context, InterceptionDevice device, void *hardware_id_buffer, unsigned int buffer_size);
182+
unsigned int INTERCEPTION_API interception_get_hardware_id(InterceptionContext context, InterceptionDevice device, void *hardware_id_buffer, unsigned int buffer_size);
183183

184-
int ITERCEPTION_API interception_is_invalid(InterceptionDevice device);
184+
int INTERCEPTION_API interception_is_invalid(InterceptionDevice device);
185185

186-
int ITERCEPTION_API interception_is_keyboard(InterceptionDevice device);
186+
int INTERCEPTION_API interception_is_keyboard(InterceptionDevice device);
187187

188-
int ITERCEPTION_API interception_is_mouse(InterceptionDevice device);
188+
int INTERCEPTION_API interception_is_mouse(InterceptionDevice device);
189189

190190
#ifdef __cplusplus
191191
}

0 commit comments

Comments
 (0)