Codebase list libhdate / run/e438300a-3aca-4e83-911d-8ad468cdde19/main bindings / python / hdate.i
run/e438300a-3aca-4e83-911d-8ad468cdde19/main

Tree @run/e438300a-3aca-4e83-911d-8ad468cdde19/main (Download .tar.gz)

hdate.i @run/e438300a-3aca-4e83-911d-8ad468cdde19/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