Changes between Version 17 and Version 18 of PMCUnionDeprecationTasklist

Show
Ignore:
Timestamp:
02/02/09 18:52:25 (13 years ago)
Author:
cotto
Comment:

I hate clones.

Legend:

Unmodified
Added
Removed
Modified
  • PMCUnionDeprecationTasklist

    v17 v18  
    3636== Gotchas == 
    3737 
    38 * You may need to add certain VTABLE functions to the PMCs which you are updating.  This applies not just to init and destroy, but also clone, morph and other functions that need to deal with the PMC's internal data. 
     38* You may need to add certain VTABLE functions to the PMCs which you are updating.  This applies not just to init and destroy, but also clone, morph and other functions that need to deal with the PMC's internal data.  This is especially true if your PMC *doesn't have* an explicit clone VTABLE function.  The absence of clone VTABLE function means that it's using the default clone, which works by copying the UnionVal.  Such functions will *not* work properly for any PMCs which don't use the UnionVal. 
    3939 
    4040* Make sure that PMC_data is only used for the PMC-specific attributes struct.