File: hocr.i

package info (click to toggle)
hocr 0.8.2-6
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,004 kB
  • ctags: 430
  • sloc: sh: 8,885; ansic: 7,481; makefile: 246; cpp: 242; python: 72; perl: 11; java: 1
file content (12 lines) | stat: -rw-r--r-- 243 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
// file : hocr.i
%module hocr
%{
#include "../../src/hocrpp.h"
%}

%include ../../src/hocrpp.h

// on linux do:
// swig -python hocr.i
// g++ -fpic -c hocr_wrap.cxx -I/usr/include/python2.3
// g++ -shared ../../src/*.o hocr_wrap.o -o _hocr.so