Changeset 3605 for libcaca/trunk


Ignore:
Timestamp:
Aug 2, 2009, 1:09:29 PM (10 years ago)
Author:
Sam Hocevar
Message:

Add a note about autoreleased canvases in the documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/doc/migrating.dox

    r3482 r3605  
    113113 - \b caca_init(): use caca_create_canvas() to create a \e libcaca canvas,
    114114   followed by caca_create_display() to attach a \e libcaca display to it.
     115   Alternatively, caca_create_display() with a NULL argument will create a
     116   canvas automatically.
    115117 - \b caca_set_delay(): use caca_set_display_time().
    116118 - \b caca_get_feature(): deprecated.
     
    129131 - \b caca_end(): use caca_free_display() to detach the \e libcaca display,
    130132   followed by caca_free_canvas() to free the underlying \e libcaca canvas.
     133   Alternatively, if the canvas was created by caca_create_display(), it
     134   will be automatically destroyed by caca_free_display().
    131135
    132136 \subsection bar2 Event handling
Note: See TracChangeset for help on using the changeset viewer.