projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d84791a
)
Make it possible to use gbm with c++
author
Jørgen Lind
<jorgen.lind@nokia.com>
Tue, 19 Jul 2011 20:52:20 +0000
(22:52 +0200)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 19 Jul 2011 23:30:07 +0000
(16:30 -0700)
NOTE: This is a candiate for 7.11
src/gbm/main/gbm.h
patch
|
blob
|
history
diff --git
a/src/gbm/main/gbm.h
b/src/gbm/main/gbm.h
index d79a03e4b3ff477a64475dadfbfadd2ee4d6a62b..05d2292dc75e9139ce570bbfc54943ab72f003fd 100644
(file)
--- a/
src/gbm/main/gbm.h
+++ b/
src/gbm/main/gbm.h
@@
-28,6
+28,11
@@
#ifndef _GBM_H_
#define _GBM_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
#define __GBM__ 1
#include <stdint.h>
@@
-97,4
+102,8
@@
gbm_bo_get_handle(struct gbm_bo *bo);
void
gbm_bo_destroy(struct gbm_bo *bo);
+#ifdef __cplusplus
+}
+#endif
+
#endif