/usr/share/doc/libitl-dev/swig/libitl.i is in libitl-dev 0.7.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | /************************************************************************
* $Id: libitl.i 1925 2006-09-21 16:39:50Z thamer $
*
* ------------
* Description:
* ------------
* Copyright (c) 2004, Arabeyes, Thamer Mahmoud
*
* This an example SWIG interface file for the ITL libaray.
*
*
* -----------------
* Revision Details: (Updated by Revision Control System)
* -----------------
* $Date: 2006-09-21 19:39:50 +0300 (Thu, 21 Sep 2006) $
* $Author: thamer $
* $Revision: 1925 $
* $Source$
*
* (www.arabeyes.org - under LGPL license - see COPYING file)
************************************************************************/
// NOTE: Change the perl prefix to whatever language you want to use
%module libitl_perl
%{
#include "../prayertime/src/prayer.h"
#include "../hijri/src/hijri.h"
%}
%include "../prayertime/src/prayer.h"
%include "../hijri/src/hijri.h"
%inline %{
// NOTE: In case of trouble with passing C arrays from a script, this is an
// alternative to the "getPrayerTimes" API function that can take 6 separate
// Prayer objects instead of array[6].
void getPrayerTimes6 (const Location* loc, const Method* conf,
const Date* date, Prayer* p0,
Prayer* p1, Prayer* p2, Prayer* p3,
Prayer* p4, Prayer* p5)
{
Prayer pList[6];
getPrayerTimes (loc, conf, date, pList);
*p0 = pList[0];
*p1 = pList[1];
*p2 = pList[2];
*p3 = pList[3];
*p4 = pList[4];
*p5 = pList[5];
}
%}
|