Changes between Initial Version and Version 1 of SWIG


Ignore:
Timestamp:
Sep 1, 2010, 11:12:06 AM (14 years ago)
Author:
Ari Jolma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SWIG

    v1 v1  
     1The GDAL new generation wrappers are generated from SWIG interface files. The files reside in swig/include (common part) and its subfolders (language specific parts).
     2
     3The SWIG interface is built on top of the GDAL C API, but it essentially recreates an object-oriented interface.
     4
     5The fundamental task of wrappers is to take data from variables of one language and store it into variables of another and vice versa. The main tool in SWIG for this is a typemap. SWIG provides some typemaps for simple and basic cases, but in the case of more complex structures and cases the developers need to write custom typemaps. The signatures of the custom typemaps in GDAL wrappers are given in swig/include/README.typemaps. All language bindings need to implement these custom typemaps.