kopia lustrzana https://gitlab.com/sane-project/backends
Currently, compiling stubs.c requires its
own compile rule simply to pass in -DSTUBS. Since its always required, just define it in stubs.cmerge-requests/1/head
rodzic
8b5df29714
commit
4ed8a4a87c
|
@ -13,6 +13,9 @@
|
||||||
Add references to epson and epson2 man pages about
|
Add references to epson and epson2 man pages about
|
||||||
SANE_DEBUG_EPSONx_SCSI and _NET options.
|
SANE_DEBUG_EPSONx_SCSI and _NET options.
|
||||||
Created an epson2 man page; based mostly on epson page.
|
Created an epson2 man page; based mostly on epson page.
|
||||||
|
* backend/stubs.c: Currently, compiling stubs.c requires its
|
||||||
|
own compile rule simply to pass in -DSTUBS. Since its always
|
||||||
|
required, just define it in stubs.c
|
||||||
|
|
||||||
2009-01-22 Stéphane Voltz <stef.dev@free.fr>
|
2009-01-22 Stéphane Voltz <stef.dev@free.fr>
|
||||||
* doc/Makefile.in doc/descriptions/genesys.desc : added the rts8891
|
* doc/Makefile.in doc/descriptions/genesys.desc : added the rts8891
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#define STUBS
|
||||||
|
|
||||||
#include "sane/sanei_backend.h"
|
#include "sane/sanei_backend.h"
|
||||||
|
|
||||||
/* Now define the wrappers (we could use aliases here, but go for
|
/* Now define the wrappers (we could use aliases here, but go for
|
||||||
|
@ -29,7 +31,7 @@ sane_get_option_descriptor (SANE_Handle h, SANE_Int opt)
|
||||||
|
|
||||||
SANE_Status
|
SANE_Status
|
||||||
sane_control_option (SANE_Handle h, SANE_Int opt, SANE_Action act,
|
sane_control_option (SANE_Handle h, SANE_Int opt, SANE_Action act,
|
||||||
void *val, SANE_Word *info)
|
void *val, SANE_Word *info)
|
||||||
{
|
{
|
||||||
return ENTRY(control_option) (h, opt, act, val, info);
|
return ENTRY(control_option) (h, opt, act, val, info);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue