Codebase list libhdate / run/841342d9-316d-4f55-a179-9e154046f3ac/main bindings / python / hdate.i
run/841342d9-316d-4f55-a179-9e154046f3ac/main

Tree @run/841342d9-316d-4f55-a179-9e154046f3ac/main (Download .tar.gz)

hdate.i @run/841342d9-316d-4f55-a179-9e154046f3ac/mainraw · history · blame

// 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