From 39d92e49b2d91b250b6b63c0337b888b01c3e33d Mon Sep 17 00:00:00 2001
From: Henning Thielemann
Date: Fri, 19 Mar 2004 11:45:29 +0000
Subject: [PATCH] added basic Modula-3 support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
---
Doc/Manual/Chicken.html | 32 +-
Doc/Manual/Contents.html | 81 +-
Doc/Manual/Contract.html | 3 +-
Doc/Manual/Extending.html | 94 +-
Doc/Manual/Introduction.html | 22 +-
Doc/Manual/Java.html | 2 +-
Doc/Manual/Modula3.html | 360 ++
Doc/Manual/Ocaml.html | 60 +-
Doc/Manual/Perl5.html | 88 +-
Doc/Manual/Php.html | 32 +-
Doc/Manual/Preface.html | 4 +-
Doc/Manual/Python.html | 128 +-
Doc/Manual/Ruby.html | 102 +-
Doc/Manual/SWIG.html | 2 +-
Doc/Manual/SWIGPlus.html | 2 +-
Doc/Manual/Tcl.html | 90 +-
Doc/Manual/Warnings.html | 2 +-
Doc/Manual/Windows.html | 36 +-
Doc/Manual/chapters | 1 +
Examples/Makefile.in | 25 +
Examples/modula3/check.list | 7 +
Examples/modula3/class/.cvsignore | 17 +
Examples/modula3/class/Makefile | 25 +
Examples/modula3/class/example.cxx | 28 +
Examples/modula3/class/example.h | 44 +
Examples/modula3/class/example.i | 32 +
Examples/modula3/class/swig.tmpl | 11 +
Examples/modula3/enum/.cvsignore | 18 +
Examples/modula3/enum/Makefile | 26 +
Examples/modula3/enum/example.cxx | 32 +
Examples/modula3/enum/example.h | 83 +
Examples/modula3/enum/example.i | 72 +
Examples/modula3/exception/.cvsignore | 17 +
Examples/modula3/exception/Makefile | 23 +
Examples/modula3/exception/example.h | 18 +
Examples/modula3/exception/example.i | 43 +
Examples/modula3/reference/.cvsignore | 15 +
Examples/modula3/reference/Makefile | 21 +
Examples/modula3/reference/example.cxx | 41 +
Examples/modula3/reference/example.h | 22 +
Examples/modula3/reference/example.i | 32 +
Examples/modula3/simple/.cvsignore | 8 +
Examples/modula3/simple/Makefile | 21 +
Examples/modula3/simple/example.c | 18 +
Examples/modula3/simple/example.i | 5 +
Examples/modula3/typemap/.cvsignore | 17 +
Examples/modula3/typemap/Makefile | 21 +
Examples/modula3/typemap/example.i | 90 +
Lib/modula3/modula3.swg | 699 ++++
Lib/modula3/modula3head.swg | 69 +
Lib/modula3/typemaps.i | 66 +
Makefile.in | 13 +-
Source/DOH/README | 4 +-
Source/Include/swigwarn.h | 14 +
Source/Makefile.am | 1 +
Source/Modules/modula3.cxx | 4184 ++++++++++++++++++++++++
Source/Modules/swigmain.cxx | 2 +
57 files changed, 6645 insertions(+), 380 deletions(-)
create mode 100644 Doc/Manual/Modula3.html
create mode 100644 Examples/modula3/check.list
create mode 100644 Examples/modula3/class/.cvsignore
create mode 100644 Examples/modula3/class/Makefile
create mode 100644 Examples/modula3/class/example.cxx
create mode 100644 Examples/modula3/class/example.h
create mode 100644 Examples/modula3/class/example.i
create mode 100644 Examples/modula3/class/swig.tmpl
create mode 100644 Examples/modula3/enum/.cvsignore
create mode 100644 Examples/modula3/enum/Makefile
create mode 100644 Examples/modula3/enum/example.cxx
create mode 100644 Examples/modula3/enum/example.h
create mode 100644 Examples/modula3/enum/example.i
create mode 100644 Examples/modula3/exception/.cvsignore
create mode 100644 Examples/modula3/exception/Makefile
create mode 100644 Examples/modula3/exception/example.h
create mode 100644 Examples/modula3/exception/example.i
create mode 100644 Examples/modula3/reference/.cvsignore
create mode 100644 Examples/modula3/reference/Makefile
create mode 100644 Examples/modula3/reference/example.cxx
create mode 100644 Examples/modula3/reference/example.h
create mode 100644 Examples/modula3/reference/example.i
create mode 100644 Examples/modula3/simple/.cvsignore
create mode 100644 Examples/modula3/simple/Makefile
create mode 100644 Examples/modula3/simple/example.c
create mode 100644 Examples/modula3/simple/example.i
create mode 100644 Examples/modula3/typemap/.cvsignore
create mode 100644 Examples/modula3/typemap/Makefile
create mode 100644 Examples/modula3/typemap/example.i
create mode 100644 Lib/modula3/modula3.swg
create mode 100644 Lib/modula3/modula3head.swg
create mode 100644 Lib/modula3/typemaps.i
create mode 100644 Source/Modules/modula3.cxx
diff --git a/Doc/Manual/Chicken.html b/Doc/Manual/Chicken.html
index 7bd536b34..9ff33699a 100644
--- a/Doc/Manual/Chicken.html
+++ b/Doc/Manual/Chicken.html
@@ -7,7 +7,7 @@
-24 SWIG and Chicken
+25 SWIG and Chicken
-24.1 Preliminaries
+25.1 Preliminaries
@@ -79,7 +79,7 @@
-24.1.1 Running SWIG in C mode
+25.1.1 Running SWIG in C mode
@@ -101,7 +101,7 @@
object files and linked into your project.
-24.1.2 Running SWIG in C++ mode
+25.1.2 Running SWIG in C++ mode
@@ -123,10 +123,10 @@
-24.2 Code Generation
+25.2 Code Generation
-24.2.1 Naming Conventions
+25.2.1 Naming Conventions
@@ -153,7 +153,7 @@
%rename SWIG directive in the SWIG interface file.
-24.2.2 Modules and Prefixes
+25.2.2 Modules and Prefixes
@@ -187,7 +187,7 @@
-24.2.3 Constants and Variables
+25.2.3 Constants and Variables
@@ -212,7 +212,7 @@
use (my-variable).
-24.2.4 Functions
+25.2.4 Functions
@@ -231,7 +231,7 @@
parameters).
-24.3 TinyCLOS
+25.3 TinyCLOS
@@ -269,7 +269,7 @@
-24.4 Compilation
+25.4 Compilation
@@ -283,7 +283,7 @@
much simpler csc or csc.bat.
-24.5 Linkage
+25.5 Linkage
@@ -307,7 +307,7 @@ CHICKEN_HOME=/usr/local/share/chicken
your platform.
-24.5.1 Customized Interpreter
+25.5.1 Customized Interpreter
@@ -348,7 +348,7 @@ CHICKEN_HOME=/usr/local/share/chicken
-24.6 Typemaps
+25.6 Typemaps
@@ -488,7 +488,7 @@ CHICKEN_HOME=/usr/local/share/chicken
-24.7 Pointers
+25.7 Pointers
@@ -523,7 +523,7 @@ CHICKEN_HOME=/usr/local/share/chicken
to be broken (Bug #782468), so that type errors may not be
reported.
-
24.8 Unsupported features
+25.8 Unsupported features
-Supported C/C++ language features
-Non-intrusive interface building
-Hands off code generation
+Supported C/C++ language features
+Non-intrusive interface building
+Hands off code generation
+SWIG and freedom
@@ -57,25 +57,26 @@
SWIG Windows Examples
-SWIG on Cygwin and MinGW
+SWIG on Cygwin and MinGW
@@ -380,17 +381,18 @@
Enabling additional warnings
Issuing a warning message
Commentary
-Warning number reference
+Message output format
+Warning number reference
-History
+History
@@ -603,7 +605,28 @@
-
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/Doc/Manual/Contract.html b/Doc/Manual/Contract.html
index 2650d103b..c80299ed8 100644
--- a/Doc/Manual/Contract.html
+++ b/Doc/Manual/Contract.html
@@ -155,6 +155,7 @@ this means that both the arguments to Spam::bar must be positive.
10.3 Constant aggregation and %aggregate_check
+
Consider an interface file that contains the following code:
@@ -238,4 +239,4 @@ in SWIG-1.3.20.
SWIG 1.3 - Last Modified : November 12, 2003
-