Place some CODE: chunks inside curly brackets so that the declarations
authormike <mike>
Mon, 19 Dec 2005 13:46:11 +0000 (13:46 +0000)
committermike <mike>
Mon, 19 Dec 2005 13:46:11 +0000 (13:46 +0000)
commita5d356644babafe0a8f1ccf6029d2d17836fa373
treed660e5af381e12df32fc15eaf1510242098c223e
parent28d748e9208c606a519229092ac7805827b98c2b
Place some CODE: chunks inside curly brackets so that the declarations
they begin with are at the start of the block.  This avoid mixed
code/declaration (initially diagnosed by a user with a Windows C
compiler, and tested using GCC with "-ansi -pedantic").  The "correct"
solution is to use INIT: clauses in the XS file, but they don't seem
to work: the code in them is slapped down right next to the CODE:, so
declarations are not acceptable there either.
ZOOM.xs