From b316ff752ada3c0d987f524c6a11eeb957028b08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=B6ppe?= Date: Sun, 28 Sep 2003 14:40:44 +0000 Subject: [PATCH] <-scm> Fix typo in generated code for procedures-with-setters. Reported by John Lenz. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5166 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Modules/guile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Source/Modules/guile.cxx b/SWIG/Source/Modules/guile.cxx index 979e7b3e4..c7dc99733 100644 --- a/SWIG/Source/Modules/guile.cxx +++ b/SWIG/Source/Modules/guile.cxx @@ -1022,7 +1022,7 @@ public: else { /* Read/write variables become a procedure with setter. */ if (use_scm_interface) { - Printf(f_init, "{ SCM p = scm_c_define_gsubr(\"%s\", 0, 1, 0, (swig_guile_proc %s);\n", + Printf(f_init, "{ SCM p = scm_c_define_gsubr(\"%s\", 0, 1, 0, (swig_guile_proc) %s);\n", proc_name, var_name); Printf(f_init, "scm_c_define"); } else {