From 1687222e1b9e74c89cafbb5910e72d8ec7bfd40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 31 Jul 2019 16:59:49 +0200 Subject: New upstream version 1.0.28 --- include/sane/sanei_magic.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'include/sane/sanei_magic.h') diff --git a/include/sane/sanei_magic.h b/include/sane/sanei_magic.h index ab704a8..297becd 100644 --- a/include/sane/sanei_magic.h +++ b/include/sane/sanei_magic.h @@ -1,5 +1,5 @@ /* sane - Scanner Access Now Easy. - + Copyright (C) 2009 m. allan noah This file is part of the SANE package. @@ -57,6 +57,10 @@ #ifndef SANEI_MAGIC_H #define SANEI_MAGIC_H +#ifdef __cplusplus +extern "C" { +#endif + /** Initialize sanei_magic. * * Call this before any other sanei_magic function. @@ -141,7 +145,7 @@ sanei_magic_findEdges(SANE_Parameters * params, SANE_Byte * buffer, * @param buffer contains image data * @param top vertical offset to upper edge of crop * @param bot vertical offset to lower edge of crop - * @param left horizontal offset to left edge of crop + * @param left horizontal offset to left edge of crop * @param right horizontal offset to right edge of crop * * @return @@ -219,4 +223,8 @@ extern SANE_Status sanei_magic_turn(SANE_Parameters * params, SANE_Byte * buffer, int angle); +#ifdef __cplusplus +} // extern "C" +#endif + #endif /* SANEI_MAGIC_H */ -- cgit v1.2.3