mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 09:10:11 +01:00
gallium: Wrap decls in extern "C".
This commit is contained in:
parent
6c597238b2
commit
901b03e84d
2 changed files with 22 additions and 0 deletions
|
|
@ -37,8 +37,15 @@
|
|||
#include "pipe/p_state.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
struct cso_hash;
|
||||
|
||||
struct cso_hash_iter;
|
||||
|
||||
struct cso_cache {
|
||||
struct cso_hash *blend_hash;
|
||||
struct cso_hash *depth_stencil_hash;
|
||||
|
|
@ -104,4 +111,9 @@ struct cso_hash_iter cso_find_state_template(struct cso_cache *sc,
|
|||
void * cso_take_state(struct cso_cache *sc, unsigned hash_key,
|
||||
enum cso_cache_type type);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -33,6 +33,12 @@
|
|||
#ifndef CSO_HASH_H
|
||||
#define CSO_HASH_H
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
struct cso_hash;
|
||||
struct cso_node;
|
||||
|
||||
|
|
@ -68,4 +74,8 @@ void *cso_hash_find_data_from_template( struct cso_hash *hash,
|
|||
int size );
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue