SWIG Examples

Welcome to the browsable SWIG Examples directory. This directory contains a collection of examples that illustrate various SWIG features for a variety of target languages. First, it is important to cover a few preliminaries:

Fundamentals

Follow one of these links to see some simple examples for a specific target language: If your target platform is Windows, make sure you also see the Windows page in the main manual.

Real Life

The GIFPlot directory contains examples that illustrate the use of SWIG with a moderately complex C library for creating GIF images. Many of these examples illustrate more advanced SWIG features.