/ Replace all pair offsets by pointers. */ /
| 2013 | /* Replace all pair offsets by pointers. */ |
| 2014 | /***********************************************************************/ |
| 2015 | PJPR SWAP::MptrPair(PJPR ojp) { |
| 2016 | PJPR jpp = (PJPR)MakePtr(Base, (size_t)ojp); |
| 2017 | |
| 2018 | jpp->Key = (PCSZ)MakePtr(Base, (size_t)jpp->Key); |
| 2019 | |
| 2020 | if (jpp->Val) |
| 2021 | jpp->Val = (PJVAL)MptrJValue(jpp->Val); |
| 2022 | |
| 2023 | if (jpp->Next) |
| 2024 | jpp->Next = (PJPR)MptrPair(jpp->Next); |
| 2025 | |
| 2026 | return jpp; |
| 2027 | } // end of MptrPair |
| 2028 | |
| 2029 | /***********************************************************************/ |
| 2030 | /* Replace all value offsets by pointers. */ |