Add comment regarding the safe-foreign issue.
2007-10-21 Simon Budig <simon@gimp.org> * plg-ins/script-fu/scheme-wrapper.c: Add comment regarding the safe-foreign issue. svn path=/trunk/; revision=23898
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2007-10-21 Simon Budig <simon@gimp.org>
|
||||||
|
|
||||||
|
* plg-ins/script-fu/scheme-wrapper.c: Add comment regarding
|
||||||
|
the safe-foreign issue.
|
||||||
|
|
||||||
2007-10-21 Kevin Cozens <kcozens@cvs.gnome.org>
|
2007-10-21 Kevin Cozens <kcozens@cvs.gnome.org>
|
||||||
|
|
||||||
* plug-ins/script-fu/scheme-wrapper.c: Reverted changes in handling
|
* plug-ins/script-fu/scheme-wrapper.c: Reverted changes in handling
|
||||||
|
@ -1428,6 +1428,10 @@ g_printerr (" value %d is type %s (%d)\n",
|
|||||||
(sc, array[j] ? array[j] : ""),
|
(sc, array[j] ? array[j] : ""),
|
||||||
list);
|
list);
|
||||||
|
|
||||||
|
/* hook the current list into return_val, so that it
|
||||||
|
* inherits the set_safe_foreign()-protection.
|
||||||
|
* May be removed when tinyscheme fixes the GC issue
|
||||||
|
* with foreign functions */
|
||||||
sc->vptr->set_car (return_val, list);
|
sc->vptr->set_car (return_val, list);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user