From db80594ed70e0a4af8f8cf0f7147936ec4b025ed Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Thu, 10 Feb 2000 22:09:55 +0000 Subject: [PATCH] Slight change to type-table code. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@215 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/SWIG1.1/types.cxx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Source/SWIG1.1/types.cxx b/Source/SWIG1.1/types.cxx index c95f8f9ba..5a08b1011 100644 --- a/Source/SWIG1.1/types.cxx +++ b/Source/SWIG1.1/types.cxx @@ -1104,13 +1104,5 @@ emit_type_table() { fprintf(f_wrappers,"%s\n", table.get()); fprintf(f_runtime,"static _swig_type_info *_swig_types[%d];\n", i+1); fprintf(f_runtime,"/* ---- TYPES TABLE (END) ---- */\n\n"); - String init; - init << tab4 << "{\n" - << tab8 << "int i;\n" - << tab8 << "for (i = 0; _swig_types_initial[i]; i++) {\n" - << tab8 << tab4 << "_swig_types[i] = SWIG_TypeRegister(_swig_types_initial[i]);\n" - << tab8 << "}\n" - << tab4 << "}\n"; - fprintf(f_init,"%s", init.get()); }