Bladeren bron

gallium/aux: Add needed extern "C" wrappers

Reviewed-by: Brian Paul <brianp@vmware.com>
tags/10.6-branchpoint
Alexander von Gluck IV 10 jaren geleden
bovenliggende
commit
40a8b2f92a
2 gewijzigde bestanden met toevoegingen van 17 en 0 verwijderingen
  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 Bestand weergeven

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

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

Laden…
Annuleren
Opslaan