diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 16:59:49 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 16:59:49 +0200 |
commit | 1687222e1b9e74c89cafbb5910e72d8ec7bfd40f (patch) | |
tree | d78102ce30207c63e7608eeba743efd680c888dc /include/sane/sanei_magic.h | |
parent | 58912f68c2489bcee787599837447e0d64dfd61a (diff) |
New upstream version 1.0.28upstream/1.0.28
Diffstat (limited to 'include/sane/sanei_magic.h')
-rw-r--r-- | include/sane/sanei_magic.h | 12 |
1 files changed, 10 insertions, 2 deletions
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 */ |