<-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/SWIG@5166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3ddde9fe70
commit
00cb55d2e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue