summaryrefslogtreecommitdiff
path: root/Source/Modules/swigmod.h
diff options
context:
space:
mode:
authorDave Beazley <dave-swig@dabeaz.com>2003-10-09 15:57:54 +0000
committerDave Beazley <dave-swig@dabeaz.com>2003-10-09 15:57:54 +0000
commit62c35e3579372e9a98ee54452958c13f2464d006 (patch)
tree1e78ac966b62b8f3b7321fccb6645476369d30c2 /Source/Modules/swigmod.h
parent0acef2ac836edf8003bbf0b00b1f63f2a808df5c (diff)
downloadswig-62c35e3579372e9a98ee54452958c13f2464d006.tar.gz
Removed contract code from swigmod.h. Violates intended modularity of this file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Source/Modules/swigmod.h')
-rw-r--r--Source/Modules/swigmod.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/Source/Modules/swigmod.h b/Source/Modules/swigmod.h
index aa7e505b9..6aba6a529 100644
--- a/Source/Modules/swigmod.h
+++ b/Source/Modules/swigmod.h
@@ -274,40 +274,6 @@ extern void emit_action(Node *n, Wrapper *f);
extern List *Swig_overload_rank(Node *n);
extern String *Swig_overload_dispatch(Node *n, const String_or_char *fmt, int *);
-/************************************************************************
- * class Contracts:
- *
- * This class defines the functions that need to be used in
- * "wrap by contract" module.
- *************************************************************************/
-
-class Contracts : public Dispatcher {
-public:
- int ContractSplit(Node *n);
- int AssertModify(Node *n, int flag);
- int InheritModify(Node *n);
- int InheritAssertAppend(Node *n, Node *bases);
- int AssertAddTag(Node *n);
- int AssertAddErrorMsg(Node *n);
- int AssertSetParms(Node *n);
-
- int emit_contract(Node *n);
- int cDeclaration(Node *n);
- int constructorDeclaration(Node *n);
- int destructorDeclaration(Node *n);
- int externDeclaration(Node *n);
- int extendDirective(Node *n);
- int importDirective(Node *n);
- int includeDirective(Node *n);
- int classDeclaration(Node *n);
- int classHandler(Node *n);
- virtual int top(Node *n);
-};
-
-extern void Swig_contracts(Node *n);
-extern void Swig_contract_mode_set(int flag);
-extern int Swig_contract_mode_get();
-
extern "C" {
typedef Language *(*ModuleFactory)(void);
}