Fix argument passing to foreign functions.
authorLudovic Courtès <ludo@gnu.org>
Sat, 20 Mar 2010 15:45:14 +0000 (16:45 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sat, 20 Mar 2010 15:45:14 +0000 (16:45 +0100)
commita2c6904911577b51c2486ad7115a4311524d4a96
tree819331df8ad9f6ff6c04d914889a8eaf3e790514
parent7f10a113c5f370071647c23b21b912ecceef3a50
Fix argument passing to foreign functions.

* libguile/foreign.c (scm_i_foreign_call): When allocating room for
  DATA, use the sum of all the argument sizes, not `cif->bytes'.
libguile/foreign.c