소스 검색

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…
취소
저장