summaryrefslogtreecommitdiff
path: root/include/sane/sanei_magic.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
commitee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch)
tree58f05092be1a17a939e861f8cadcda1b6ca2ecef /include/sane/sanei_magic.h
parent0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff)
parentfef76e17ed4c607ea73b81279f9ef1d7121be900 (diff)
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'include/sane/sanei_magic.h')
-rw-r--r--include/sane/sanei_magic.h12
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 */