From 122931dc59bec239a432ce8abcbf5aa391fe50a9 Mon Sep 17 00:00:00 2001 From: Leif Middelschulte Date: Tue, 19 Jun 2012 17:18:39 +0000 Subject: [PATCH] Add 'struct' to typedef of SwibObj_Class declaration. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13186 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/c.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/c.cxx b/Source/Modules/c.cxx index 1f81927bc..d349a3312 100644 --- a/Source/Modules/c.cxx +++ b/Source/Modules/c.cxx @@ -1278,7 +1278,7 @@ ready: // declare type for specific class in the proxy header if (proxy_flag) - Printv(f_proxy_header, "\ntypedef SwigObj_", name, " ", name, ";\n\n", NIL); + Printv(f_proxy_header, "\ntypedef struct SwigObj_", name, " ", name, ";\n\n", NIL); Delete(sobj); Delete(name);