Void-safe migration guide
Revision as of 15:07, 5 February 2009 by Manus (Talk | contribs) (Prepared guide for migrating code to be Void safe)
Migrating your code to be void-safe is quite easy if you follow the recommendations presented in this document.
Prepare migration using EiffelStudio 6.3 or EiffelStudio 6.4 with the compatibility option
Compile your code using and apply the following refactorings:
- Search for callers of {STRING_8}.make_from_c
and {STRING_32}.make_from_c
. Replace them by make_from_c_pointer
when used as creation procedure, otherwise it is ok to leave it as is.
- Search for callers of {CELL}.default_create
and replace it by calling put
instead and providing a sensible default value.