A clearer implementation of B::SV::object_2svref()
authorNicholas Clark <nick@ccl4.org>
Fri, 29 Oct 2010 09:59:23 +0000 (10:59 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 29 Oct 2010 09:59:23 +0000 (10:59 +0100)
commit9efba5c8ba482f48d0d42ef3b332f7217f2b0e1e
tree477b9840baca24d6574423ba7770d6c099a923e9
parentde64752d290b57032d45d72532fb976cf2b9b2b0
A clearer implementation of B::SV::object_2svref()

The same number of lines of code, but it avoids using 2 #defines simply to
take advantage of typemap entries, which the reader may not be familiar with.
ext/B/B.xs