Codebase list libhdate / 8ba77bc4-e30c-4d50-96d5-8d7add4563c7/main bindings / perl / hdate.i
8ba77bc4-e30c-4d50-96d5-8d7add4563c7/main

Tree @8ba77bc4-e30c-4d50-96d5-8d7add4563c7/main (Download .tar.gz)

hdate.i @8ba77bc4-e30c-4d50-96d5-8d7add4563c7/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