Codebase list libhdate / 8d3ed499-60c9-4ff3-a8f5-36014ceb5a6f/main bindings / perl / hdate.i
8d3ed499-60c9-4ff3-a8f5-36014ceb5a6f/main

Tree @8d3ed499-60c9-4ff3-a8f5-36014ceb5a6f/main (Download .tar.gz)

hdate.i @8d3ed499-60c9-4ff3-a8f5-36014ceb5a6f/mainraw · history · blame

// file : hdate.i
%module hdate
%{
#include "../../src/hdatepp.h"
%}

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

// on linux do:
// swig -perl hdate.i
// g++ -fpic -c hdate_wrap.cxx -I/usr/lib/perl5/5.8.6/i686-linux/CORE/
// g++ -shared ../../src/*.o hdate_wrap.o -o _hdate.so