diff options
Diffstat (limited to 'common/marshaller.h')
-rw-r--r-- | common/marshaller.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/marshaller.h b/common/marshaller.h index 4d77140..0a61fef 100644 --- a/common/marshaller.h +++ b/common/marshaller.h @@ -25,6 +25,10 @@ #include <sys/uio.h> #endif +#ifdef __cplusplus +extern "C" { +#endif + typedef struct SpiceMarshaller SpiceMarshaller; typedef void (*spice_marshaller_item_free_func)(uint8_t *data, void *opaque); @@ -63,4 +67,8 @@ void *spice_marshaller_add_int8(SpiceMarshaller *m, int8_t v); void spice_marshaller_set_uint32(SpiceMarshaller *m, void *ref, uint32_t v); +#ifdef __cplusplus +} +#endif + #endif |