Ada binding to DevIL library.
Ada Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
AUTHORS
COPYING
ChangeLog
INSTALL
NEWS
README
imago.gpr
make.sh

README

Ada binding to DevIL library.

This library tries to be as close to original API as possible, while using
Ada types whenever possible. It is under ISC license. Full list of authors
is in AUTHORS file.

Depends on gprbuild (may build with gnatmake but not tested), devil and lumen
(lumen is used for ILUT). [on Debian you can install libdevil-dev to satisfy
DevIL dependency]

I have no plans of binding to following subprograms (unless someone will
actually need them):
  ILenum	    ilDetermineTypeF (ILHANDLE File);
  ILboolean   ilIsValidF (ILenum Type, ILHANDLE File);
  ILboolean   ilLoadF (ILenum Type, ILHANDLE File);
  ILboolean   ilRegisterLoad (ILconst_string Ext, IL_LOADPROC Load);
  ILboolean   ilRegisterSave (ILconst_string Ext, IL_SAVEPROC Save);
  ILuint      ilSaveF (ILenum Type, ILHANDLE File);
  void        ilSetMemory (mAlloc, mFree);
  void        ilSetRead (fOpenRProc, fCloseRProc, fEofProc, fGetcProc,
                         fReadProc, fSeekRProc, fTellRProc);
  void        ilSetWrite (fOpenWProc, fCloseWProc, fPutcProc,
                          fSeekWProc, fTellWProc, fWriteProc);
  ILboolean   ilLoadDataF (ILHANDLE File, ILuint Width, ILuint Height,
                         ILuint Depth, ILubyte Bpp);

To build with different than default CPU switches add "-XCPU=switches" to
gprbuild command. Defualt CPU switches are: "-march=native -fPIC"

------------------------------------------------------------------------------
--                    Copyright © 2015 - 2016 darkestkhan                   --
------------------------------------------------------------------------------
-- Permission to use, copy, modify, and/or distribute this software for any --
-- purpose with or without fee is hereby granted, provided that the above   --
-- copyright notice and this permission notice appear in all copies.        --
--                                                                          --
-- The software is provided "as is" and the author disclaims all warranties --
-- with regard to this software including all implied warranties of         --
-- merchantability and fitness. In no event shall the author be liable for  --
-- any special, direct, indirect, or consequential damages or any damages   --
-- whatsoever resulting from loss of use, data or profits, whether in an    --
-- action of contract, negligence or other tortious action, arising out of  --
-- or in connection with the use or performance of this software.           --
------------------------------------------------------------------------------