aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/vtxfmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/vtxfmt.h')
-rw-r--r--src/mesa/main/vtxfmt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/vtxfmt.h b/src/mesa/main/vtxfmt.h
index efccd901aa6..4f8bc9cdf06 100644
--- a/src/mesa/main/vtxfmt.h
+++ b/src/mesa/main/vtxfmt.h
@@ -35,8 +35,16 @@
#include "mtypes.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern void _mesa_install_exec_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
extern void _mesa_install_save_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
extern void _mesa_initialize_vbo_vtxfmt(struct gl_context *ctx);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif /* _VTXFMT_H_ */