Browse Source

include: vlc_opengl: use extern "C" in C++ code

pull/134/head
Alexandre Janniaux 4 years ago
committed by Hugo Beauzée-Luyssen
parent
commit
8f2bf524c0
  1. 8
      include/vlc_opengl.h

8
include/vlc_opengl.h

@ -24,6 +24,10 @@
#ifndef VLC_GL_H
#define VLC_GL_H 1
# ifdef __cplusplus
extern "C" {
# endif
/**
* \file
* This file defines GL structures and functions.
@ -149,4 +153,8 @@ static inline bool vlc_gl_StrHasToken(const char *apis, const char *api)
return false;
}
#ifdef __cplusplus
}
#endif /* C++ */
#endif /* VLC_GL_H */

Loading…
Cancel
Save