diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-03-30 21:30:45 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-03-30 21:30:45 +0200 |
commit | ee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch) | |
tree | 58f05092be1a17a939e861f8cadcda1b6ca2ecef /include/sane/sanei_backend.h | |
parent | 0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff) | |
parent | fef76e17ed4c607ea73b81279f9ef1d7121be900 (diff) |
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'include/sane/sanei_backend.h')
-rw-r--r-- | include/sane/sanei_backend.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/sane/sanei_backend.h b/include/sane/sanei_backend.h index 8273e88..32d8ce0 100644 --- a/include/sane/sanei_backend.h +++ b/include/sane/sanei_backend.h @@ -113,6 +113,10 @@ /** @name Declaration of entry points: * @{ */ +#ifdef __cplusplus +extern "C" { +#endif + extern SANE_Status ENTRY(init) (SANE_Int *, SANE_Auth_Callback); extern SANE_Status ENTRY(get_devices) (const SANE_Device ***, SANE_Bool); extern SANE_Status ENTRY(open) (SANE_String_Const, SANE_Handle *); @@ -130,6 +134,10 @@ extern void ENTRY(cancel) (SANE_Handle); extern void ENTRY(close) (SANE_Handle); extern void ENTRY(exit) (void); +#ifdef __cplusplus +} // extern "C" +#endif + #ifndef STUBS /* Now redirect sane_* calls to backend's functions: */ @@ -152,7 +160,7 @@ extern void ENTRY(exit) (void); /** Internationalization for SANE backends * * Add SANE_I18N() to all texts that can be translated. - * E.g. out_txt = SANE_I18N("Hello"); + * E.g. out_txt = SANE_I18N("Hello"); */ #ifndef SANE_I18N #define SANE_I18N(text) text |