Fix for returning structures (hashes) from Perl calls.
authorRichard Jones <rjones@trick.home.annexia.org>
Fri, 10 Jul 2009 11:06:11 +0000 (12:06 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Fri, 10 Jul 2009 11:06:11 +0000 (12:06 +0100)
commitca75b55ec25f8ae3463702f16cdeb95ebde2916a
tree23a2857828c1f7e102415fa8e72c391e39e1501a
parent0fc6b7affd28ad77566e832f338650b771145ea1
Fix for returning structures (hashes) from Perl calls.

Calls such as stat and statvfs which returned a single structure
were returning an array of values instead of a full hash of keys +
values.

Fix this by pushing the key names on the stack too.
src/generator.ml