Eliminate conditional 5.11/older conditional code that is actually unnecessary.
authorNicholas Clark <nick@ccl4.org>
Sun, 17 Apr 2011 12:11:51 +0000 (13:11 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 17 Apr 2011 15:00:07 +0000 (16:00 +0100)
commit0e1f978fc738236bcad9f7f51c1657e4f43800c6
treeb4990371e4572bbcbabc95e32a3dc807960e098c
parent274594bc1da73fbf76d3f7326137cce1a3ac560f
Eliminate conditional 5.11/older conditional code that is actually unnecessary.

Need to use SvRV_const() for const correctness, which isn't in ppport.h, so
provide our own fallback definition when needed.

The logic used for pre-5.11 is (locally) correct for post 5.11 too.
However, the intent of the *design* of the module is that references never get
into this part of the code. Unfortunately, in turn, the implementation of the
design isn't right, and they do. However, the fix for this is actually to fix
the design, because it too isn't right.
Size.xs