add extern "C" for c++
This commit is contained in:
parent
d4f263cc00
commit
ec0cb6b43c
6
vinci.h
6
vinci.h
@ -21,6 +21,9 @@
|
|||||||
|
|
||||||
#ifndef VINCI_H
|
#ifndef VINCI_H
|
||||||
#define VINCI_H
|
#define VINCI_H
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
@ -58,4 +61,7 @@ void window_hide (window *w);
|
|||||||
void window_set_data (window *w, void *data);
|
void window_set_data (window *w, void *data);
|
||||||
void* window_get_data (window *w);
|
void* window_get_data (window *w);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user