"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "WindowMaker-0.92.0/wrlib/NEWS" of archive WindowMaker-0.92.0.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 
    2 Sat Apr 21 09:12:09 EEST 2001 -Dan
    3 
    4 API change
    5 ----------
    6 
    7 To allow a retain/release mechanism to be implemented for RImages, the
    8 following new functions were introduced:
    9 
   10    RImage* RRetainImage(RImage* image);
   11    void RReleaseImage(RImage* image);
   12 
   13 RDestroyImage() is now aliased to RReleaseImage(), but because it's no
   14 longer compatible with the new semantics, it was only kept to allow a
   15 smoother transition and the ability to run programs that were not updated
   16 yet.
   17 
   18 Do _NOT_ continue to use RDestroyImage(), because it will be removed in a
   19 future version. You should start using RReleaseImage() in your code, and
   20 also update all your existing programs to use RReleaseImage().
   21 
   22 Also keep in mind that its name is also misleading: RDestroyImage() no
   23 longer destroys images, unless they are not retained in some other place.
   24 
   25 All existing code will continue to function with the new lib, even if not
   26 recompiled, but you are encouraged to update your code to these changes
   27 
   28