瀏覽代碼

gallium/aux: Add needed extern "C" wrappers

Reviewed-by: Brian Paul <brianp@vmware.com>
tags/10.6-branchpoint
Alexander von Gluck IV 10 年之前
父節點
當前提交
40a8b2f92a
共有 2 個檔案被更改,包括 17 行新增0 行删除
  1. 9
    0
      src/gallium/auxiliary/postprocess/postprocess.h
  2. 8
    0
      src/gallium/auxiliary/util/u_tests.h

+ 9
- 0
src/gallium/auxiliary/postprocess/postprocess.h 查看文件

@@ -30,6 +30,10 @@

#include "pipe/p_state.h"

#ifdef __cplusplus
extern "C" {
#endif

struct cso_context;

struct pp_queue_t; /* Forward definition */
@@ -85,4 +89,9 @@ void pp_celshade_free(struct pp_queue_t *, unsigned int);
void pp_nocolor_free(struct pp_queue_t *, unsigned int);
void pp_jimenezmlaa_free(struct pp_queue_t *, unsigned int);


#ifdef __cplusplus
}
#endif

#endif

+ 8
- 0
src/gallium/auxiliary/util/u_tests.h 查看文件

@@ -30,8 +30,16 @@

#include "pipe/p_compiler.h"

#ifdef __cplusplus
extern "C" {
#endif

struct pipe_screen;

void util_run_tests(struct pipe_screen *screen);

#ifdef __cplusplus
}
#endif

#endif

Loading…
取消
儲存