summaryrefslogtreecommitdiff
path: root/include/sane/sanei_magic.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-31 17:00:58 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-31 17:00:58 +0200
commitd087d778ffb62e2713cb848540bcc819470365bd (patch)
treed69692a274dd1c7d0672e6bb7155a0fc106f9d49 /include/sane/sanei_magic.h
parentc8bd2513ecba169cff44c09c8058c36987357b18 (diff)
parent3759ce55ba79b8d3b9d8ed247a252273ee7dade3 (diff)
Merge branch 'feature/upstream' into develop
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 */