Migrating from PlanetKit 4.4 to 5.5
This guide provides detailed steps and considerations for migrating from PlanetKit 4.4 to PlanetKit 5.5.
Migration
Breaking change Add new classes for memory management
- Added memory management classes to manage the lifecycle of pointer-type variables provided by PlanetKit.
- Added AutoPtr, Optional, and Array.
- Changed to use AutoPtr for pointer-type variables.
- APIs that explicitly provided nullptr have been modified to use Optional.
- Array variables are now provided as Array instead of being provided as parameter size and pointer.