diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-14 21:01:48 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:30:23 +0100 |
commit | c4482c7ff2bf441e6a9e06f30f1b247171bb0738 (patch) | |
tree | a2ba30dcd9756e77b745af94a6e4fbe304eaba3b /common/canvas_utils.h | |
parent | e800e51d4ecbae0b0023bd829d0cf9082381fc00 (diff) |
Use SPICE_{BEGIN,END}_DECLS
Diffstat (limited to 'common/canvas_utils.h')
-rw-r--r-- | common/canvas_utils.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/common/canvas_utils.h b/common/canvas_utils.h index da38e08..ef3f9c5 100644 --- a/common/canvas_utils.h +++ b/common/canvas_utils.h @@ -24,13 +24,12 @@ #endif #include <spice/types.h> +#include <spice/macros.h> #include "pixman_utils.h" #include "lz.h" -#ifdef __cplusplus -extern "C" { -#endif +SPICE_BEGIN_DECLS typedef struct PixmanData { #ifdef WIN32 @@ -73,8 +72,7 @@ typedef struct LzDecodeUsrData { pixman_image_t *alloc_lz_image_surface(LzDecodeUsrData *canvas_data, pixman_format_code_t pixman_format, int width, int height, int gross_pixels, int top_down); -#ifdef __cplusplus -} -#endif + +SPICE_END_DECLS #endif |