bug 482: pass scalar arguments by const references. Still remains a few cases that might affect the ABI (see the bug entry)