Codebase list libhdate / 4077d0cd-b45a-4579-a8e9-a2b21ff82dea/main bindings / python / hdate.i
4077d0cd-b45a-4579-a8e9-a2b21ff82dea/main

Tree @4077d0cd-b45a-4579-a8e9-a2b21ff82dea/main (Download .tar.gz)

hdate.i @4077d0cd-b45a-4579-a8e9-a2b21ff82dea/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