Browse Source

Make it possible to use gbm with c++

NOTE: This is a candiate for 7.11
tags/mesa-8.0-rc1
Jørgen Lind 14 years ago
parent
commit
496bf3822a
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      src/gbm/main/gbm.h

+ 9
- 0
src/gbm/main/gbm.h View File

@@ -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

Loading…
Cancel
Save