Skip to content

Commit 607ac75

Browse files
committed
(#8) Added extern C
1 parent 033242c commit 607ac75

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/highlightwindow.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,17 @@
22
#ifndef HIGHLIGHT_WINDOW_H
33
#define HIGHLIGHT_WINDOW_H
44

5+
#ifdef __cplusplus
6+
extern "C"
7+
{
8+
#endif
9+
510
#include <stdint.h>
611

712
void showHighlightWindow(int32_t x, int32_t y, int32_t width, int32_t height, long duration, float opacity);
813

14+
#ifdef __cplusplus
15+
}
16+
#endif
17+
918
#endif

0 commit comments

Comments
 (0)