mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:16:13 +00:00
shm: Add C++ protection
Add c++ protection in the relevant places
This commit is contained in:
parent
29b4085096
commit
b7143de618
1 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,10 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct _ShmAllocSpace ShmAllocSpace;
|
typedef struct _ShmAllocSpace ShmAllocSpace;
|
||||||
typedef struct _ShmAllocBlock ShmAllocBlock;
|
typedef struct _ShmAllocBlock ShmAllocBlock;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue