File: hdate.i

package info (click to toggle)
libhdate 1.6.02-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,912 kB
  • sloc: sh: 11,647; ansic: 5,120; pascal: 1,059; makefile: 196; sed: 16; cpp: 13; perl: 7; python: 7; php: 5; ruby: 5
file content (12 lines) | stat: -rw-r--r-- 251 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
// file : hdate.i
%module hdate
%{
#include "../../src/hdatepp.h"
%}

%include ../../src/hdatepp.h

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