-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME_SWIG
More file actions
17 lines (11 loc) · 735 Bytes
/
Copy pathREADME_SWIG
File metadata and controls
17 lines (11 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
=SWIG Wrap of GNU Barcode
* WARNING: If you edit the barcode.i file and re-wrap the C code, you will lose the docs I put in the source, as well as make some dangerous methods public! *
SWIG (http://www.swig.org) was used to wrap the GNU Barcode C library
(http://www.gnu.org/software/barcode/barcode.html) into Ruby.
The SWIG interface file +ext/barcode.i+ may be found in the extension folder. The
resulting Ruby C extension module can is +ext/barcode_wrap.c+ and the resulting
dynamic lib module is in <tt>ext/cgbc.<_ext_></tt> where <_ext_> is specific to
the installed platform.
The SWIG command line used was:
swig -ruby -autorename barcode.i
See the SWIG docs for more information on how to modify the interface file.