Update usage example for new option API
[cl-sane.git] / swig / sane-lowlevel.i
bloba5bd9e467d7ff047efb02dac3a6ef202f302bea6
1 %module "sane-lowlevel"
3 %insert("lisphead") %{
4 (in-package :sane-lowlevel)
6 ;; SWIG doesn't realise that this #define list is actually a bitfield,
7 ;; so give it some help!
8 (defbitfield capability-flags
9 :SANE_CAP_SOFT_SELECT
10 :SANE_CAP_HARD_SELECT
11 :SANE_CAP_SOFT_DETECT
12 :SANE_CAP_EMULATED
13 :SANE_CAP_AUTOMATIC
14 :SANE_CAP_INACTIVE
15 :SANE_CAP_ADVANCED
16 :SANE_CAP_ALWAYS_SETTABLE)
19 %include "/usr/include/sane/sane.h"